Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class to Imitate Listbox
Message
 
To
01/09/2000 10:58:51
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00411729
Message ID:
00411804
Views:
20
>Hi all.
>
>I'm wondering if anyone knows of a way to let a text box behave like a combo box....What I'm really looking for is a text that will one value but store a different value to a field.
>
>For example...I have a code table with a bunch of codes and an description of each code. The user will type the descripton of the code inthe text box. The text box will then look the appropriate code and store it in the field. I want to be able to roll back any chages. Is there a way to do this.
>
>
>TIA for any responses.
>
>Carl

Depending on your purposes you may have an unbound textbox which will perform a kind of lookup in it's Valid() method and replace the field with the value obtained from a lookup routine.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform