Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox behavior with integer key
Message
 
To
22/07/1999 07:27:44
Rex Mahel
Realm Software, Llc
Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00244085
Message ID:
00244645
Views:
15
Do you have the BoundColumn property set to 2?

>Thanks Jim.
>
>OK, I set the BoundTo to .T. and the default value shows correctly. Now when I select another value in the Combo, the displayvalue is blank. If I change the BoundTo to .F. after the initial Combo.Requery, the display is correct. I shouldn't have to switch the BoundTo property on and off programmatically, should I.
>
>What am I missing?
>
>TIA
>
>Rex
>
>>Rex,
>>
>>If you want to use an integer as the controlsource for a combo, you must set the BoundTo property to .T. or else the combo uses its ListIndex instead of the value of the boundcolumn for the inteer value.
Chris McCandless
Red Sky Software
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform