Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to make Combobox return NUMERIC value????
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00054855
Message ID:
00054859
Views:
28
>Hi guys,
> I need to make Combobox return Num. vlaue.
>I have Cmb filled from SQL query that returns cursor with 3 fields ( code, description and ID )
>ColumnCount is set to 2
>BoundColumn is set to 3
>ControlSource is set to the bound table that expects Integer.
> But Value of this Combo is not value from 3-rd column but listIndex value of Combo.
> How can I change it without afecting DisplayValue property so Combo still shows "normal" data and stores only the value I need?
>TIA
> Dezider

Use unbound combo and replace field value with VAL(combo.value) programmatically.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform