Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dependent combo boxes

Status
Not open for further replies.

elanus2

IS-IT--Management
Oct 27, 2001
8
AU
I am trying to design a form with three dependent combo boxes, where selections in the first determine those displayed in the second, and so on.

I copied a functioning example (Country, State, Town), but when I use new tables of my own, the combo boxes do not allow selection, even though the correct data is displayed in the drop-down boxes.

The properties of the fields on the form are essentially unchanged. The main difference between the two is that there is a fourth table in the working example which has the identification codes of the three related records, and that record is the source for the form.

In my modified database (Family, Genus, Species), I have created a query for the details of the linked tables, and I am trying to use that as the source for the form, rather than a record with the codes of related records.

Why am I unable to select from the drop-down box?
 
In case anyone has a similar problem, I have discovered the reason. It was to do with bound and unbound controls.

The original form had controls bound to the identifiers in the fourth record. When I amended these to my query, I bound them to autonumber identifiers, hence the refusal of the form to allow me to select them (and hence change them).

Since I am not looking to update the source records, just use them for drop-down values, I unbound the controls and it all works beautifully now.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top