Results 1 to 3 of 3
  1. #1
    Silver Lounger
    Join Date
    Jun 2002
    Location
    Cheadle, Staffordshire
    Posts
    2,177
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Input Mask (A2000)

    I have a combo which needs an input mask: -

    LLL000;;_

    The entries in the combo are e.g

    DJW001
    DJW002
    KHP001 etc etc etc

    Now.
    Usually when using a combo, enter the first letter and the combo will jump to the first record.e.g

    D returns DJW001 and so forth.

    Now I have implemented this input mask, I cannot do this anymore, I have to enter the full code.

    Is there a way around this. ?

    Dave

  2. #2
    Platinum Lounger
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    4,594
    Thanks
    0
    Thanked 27 Times in 27 Posts

    Re: Input Mask (A2000)

    Why do you need an input mask on a combo box. As you can see it defeats the purpose of the Auto function which allows you to see records in the list.
    Pat <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16>

  3. #3
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Input Mask (A2000)

    As Pat says, there's really no reason for an input mask on a combobox. If the user is entering a value and you're allowing it to be added directly to the table, then use the BeforeUpdate event of the combobox to format the input the way you want it. If they are only allowed to use the combobox to select an item from an existing list, then an input mask is pointless, since the list is not case sensitive and they can't select a non-existent value anyhow.
    Charlotte

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •