Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Valid selections
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01398265
Message ID:
01398326
Views:
54
>Data validation techniques have evolved dramatically over the years in xBase languages.
>In VFP I find there are many ways to get the job done.
>What is the proper (Hmm.. Is proper the simplest, cleverest or most elegant?) way to select from a dropdown list a valid selection? I am trying to use a combo box populated with a cursor of valid selections. The cursor is multi column with the “Description” visible to the user while in the background I want to use the second column (key value of selection) to populate the field of my table. The description is all that is visible to the user.
>I have not been successful in finding examples of this approach.
>
>Any suggestions will be greatly appreciated.
>
>Gary De Lecce

The simple way would be to use MyCursorName.MyFieldName for your value. Alternatively you can use value of the combobox.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform