Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sync two ComboBoxes
Message
 
 
To
17/06/2001 09:04:32
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00520355
Message ID:
00520370
Views:
18
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.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform