Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBoxes and Arrays
Message
From
09/06/1999 13:07:04
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00227332
Message ID:
00227991
Views:
24
There is a property called boundcolumn. Setting it will make the combobox.value corrispond to the array column you set. The display value of a combo box is always the first column of the array.

so....
if you have an array like this

bob 102
rog 103
pat 104


you would set the boundcolumn to 2.
then combobox.value will give you the id and the combobox.displayvlaue will give you the name.
Sigfried Trent, aka FoxMan
(Working from his secret code cave, FoxMan battles the forces of darkness lead by the deranged and mysterious Bug Boy)
Previous
Reply
Map
View

Click here to load this message in the networking platform