Discussion Locked

Synchronize multiple combo boxes

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

On my form there are 4 fields, 2 of those fields MUST be combo boxes, the other 2 can be text boxes or combo boxes.
Here's my problem, as I type the first 3 letters of the controlling field, lets call it the "CLIENTS" field, the auto-expand property completes the entry. I then would to have the other 3 fields "synchornize" with the "CLIENTS" field. I'm using 1 table because the form is for data-entry and editing.

6 replies

by gerhard_kick

Assuming you are talking Microsoft Access, synchronising comboboxes is a relatively straight forward process. Right click the second combo, bring up the properties and use the expression builder to reference combo 1 as record source.

But from thecontext of your message one could also assume that you just want to find a record based on the selection of combo1???

by donq

You may have a number of ways to go??? If the user MUST make a combo box selection I would suggest you base the combo boxe's row source property to a SQL statement that generates values for all 4 fields AND does NOT allow users to type entries. Then connect the Control Source property to the specific field your stored values are in. After a user selects the appropriate value any other form fields could be set to the same query automatically synchronizing their entry (if any exists).

This discussion is closed to new replies.