I have searched this forum and FAQ's for cascading combobox and have not come across something to assist me with this version of cascading combo boxes. Any thoughts would be apreciated.
I have 2 combo boxes and 4 tables to deal with.
Combo boxes: cboQtyLocID and cboQtyLocation
Tables: LocationID, LocStored2C, LocStored3S, LocStored3R
LocationID has 3 fields
Each of the other tables has one field named [LocStored]
The first combo (cboQtyLocID) - (bound column is(1)) is populated with the following SQL:
What I would like to achieve is to have cboQtyLocation populated with data from the table associated with the selection from cboQtyLocID. The required table name can be obtained from LocationID.LocTableName.
I have not been able to work out the SQL for this yet.
I have 2 combo boxes and 4 tables to deal with.
Combo boxes: cboQtyLocID and cboQtyLocation
Tables: LocationID, LocStored2C, LocStored3S, LocStored3R
LocationID has 3 fields
Each of the other tables has one field named [LocStored]
The first combo (cboQtyLocID) - (bound column is(1)) is populated with the following SQL:
Code:
SELECT LocationID.LocationID, LocationID.LocationName, LocationID.LocTableName
FROM LocationID
ORDER BY LocationID.LocationName;
What I would like to achieve is to have cboQtyLocation populated with data from the table associated with the selection from cboQtyLocID. The required table name can be obtained from LocationID.LocTableName.
I have not been able to work out the SQL for this yet.