Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox ListIndex - Syntax Error
Message
 
 
To
08/05/2007 12:34:57
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01223409
Message ID:
01223472
Views:
11
>Ok, that worked, not a related question... I always have trouble with these ComboBoxes that display a description, but use a code from a table. For example:
>
>
>SELECT MyTable.Desc, MyTable.Code FROM MyTable WHERE Blah = Blah INTO CURSOR CurForNoUse
>
>
>And I want to show the description in the combo, but use the code for processing afterwards. Any insight to how this works best? Thanks!

You're doing it correctly already. Set combo's columncount to 2, BoundColumn to 2, ColumnWidths to 200,0

BTW, I prefer to use aliases as combo's RowSource, just a personal preference.

And I'm currently in a big trouble. For some reason now when I type MODI PROJECT myBestProject I do not see this project at all, though it is in Windows list.

Setting resource off didn't help, as well as re-starting VFP.

I may need to re-boot.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform