combox question
-
Hi, I created a combobox with 50 state codes; it seems working okay. So, when user type 'N', 'Y'; it will highlight "NY". When user hits enter, it will put "NY" into the combobox. However, user can enter invalid code; such as 'N', 'W'. It ends up putting "NW" into the combobox. I probably can us OnChar ( ) to validate all the input. But, does any know a better way to handl it? Any help / suggestion would be appreciated! Thanks, Kevin
-
Hi, I created a combobox with 50 state codes; it seems working okay. So, when user type 'N', 'Y'; it will highlight "NY". When user hits enter, it will put "NY" into the combobox. However, user can enter invalid code; such as 'N', 'W'. It ends up putting "NW" into the combobox. I probably can us OnChar ( ) to validate all the input. But, does any know a better way to handl it? Any help / suggestion would be appreciated! Thanks, Kevin
-
You can set the style of the combobox to 'dropdown'-list. This will prevent the user to enter a word that doesn't exist already in the list Regards codito ergo sum
Got it! Thanks! Kevin