Sync Two (or more) Comboboxes

Started by Matt W, March 12, 2008, 01:05:04 PM

Previous topic - Next topic

Matt W

Is it possible to sync two or more combo boxes.  My goal is to modify the contents of one combo box and then have that information synched up with other combo boxes.  Each of the entries in the Drawing Name column are set as the combo box style.

Fred Tomke

Hi,

you have to do this in the OnSelChanged event: whenever an item was selected the items of other lists have to be updated or other items need to be selected.
I often have two comboboxes, just like one with table names and one with column names. Once a table has been selected the other combo box has to be cleared and filled with the columns of the newly selected table. This must be done manually by your code.

Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]