Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ControlBox returns position instead of value
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00579858
Message ID:
00579869
Views:
27
This message has been marked as the solution to the initial question of the thread.
>If I set the properties of my ComboBox control to:
>.BoundColumn = 2
>
>It should return the 'nID' value of the selected value. Well, it doesn't!
>I've done this many many times before but this time, for this one instance,
>the value returned is the position of the record!

This issue is why I bought the Hackers Guide to VFP 3.0 -- it's the only book I could find that explained what was going on here. :-)

Basically, it's by design: the BoundTo property was added in VFP5 so that you could bind to a numeric datatype and have it behave as characters do.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform