Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Numeric values in a combobox list
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00676367
Message ID:
00676374
Views:
16
>I have a combobox, which controlsource is a numeric table field, the rowsource is an one dimensional array and set to 'Arrayname' and the rowsourcetype is set to Array. The array elements are numeric like Arrayname(1)=0, Arrayname(2)=5, Arrayname(3)=10, Arrayname(4)=20, Arrayname(4)=25 etc. When I want to change the table field value I activate my combo and want to choose from the drop down list showing 0,5,10,20,25 etc. However, if I choose for example 5 the value of the combobox shows 25, i.e. the array value of the 5th array element. How do I configure the combobox so its value becomes the value of the array elements as they are shown in the list?

Try to set BoundTo property of the combobox to .T.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform