Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sync two ComboBoxes
Message
From
20/06/2001 07:44:57
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00520355
Message ID:
00521346
Views:
15
David,

Each dropdown listbox has its own array... Could I use the same array for both and have a column 1 display in one and have column 2 display in the other and the third column my pk and both bound to the third column??? Waddauthink??

Thanks



>John,
>
>If both controls are bound to the same ControlSource then you can simply call the Refresh() of the other control from each one.
>
>>I have two comboboxes both set up as Style = 2 (Dropdown Listbox).
>>Both are based on an array that has two columns and the second
>>column on both is the bound to column. The second column contains
>>the pk. The first column contains the company id on the first combo
>>and the company name is in the second combo. So when I select either
>>a company id or a company name the other combo will display the
>>proper info.
>>
>>For the life of me I can't remember what to put in the interactivechange
>>to keep the two combo's in sync.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform