Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBoxes and Arrays
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00227332
Message ID:
00229008
Views:
27
>When you have a combobox with a rowsource using an array, how can you set another variable with the value from the same row number of the array but a different column number after you select an item from the array? Example:
>ARRAY =
>1,A
>2,B
>3,C
>4,D
>5,E
>
>The Combobox selects "D" and after that I want another variable to equal "4". How can you reference the array when it is being selected?
>
>Colombo.

Colombo,
 Variable = Thisform.Combo1.List(Thisform.combo.listindex,[the column you want])
Previous
Reply
Map
View

Click here to load this message in the networking platform