Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Comboboxes with an Integer as the Control Source
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00231783
Message ID:
00231879
Views:
14
>>I am having trouble displaying an integer in a combobox if it's the control source. What are the properties that I need to activate correctly to display an integer in a combobox
>
>To answer part of your question, ensure that you have BoundTo=.T. otherwise the combo will return the index of the combo not the integer you intended.
>
>>as well as save the id that is being placed into that control from the record source which is a field.
>
>Not sure what you mean.

I think he may mean that he's getting a string back instead of an integer - you can force integer return by setting the default .value property to an integer (e.g. 0).
Previous
Reply
Map
View

Click here to load this message in the networking platform