J
JohnLute
I mistakenly posted this in the reports forum so I thought I'd better post it
here in the right forum!
I've tried to populate a combo box before but never got it right. I'm
wondering if anyone out there could help me out?
I've got two combo boxes:
cbFacilityID
cbLineID
I want to populate cbLineID by what's selected in cbFacilityID. I know this
can be done but for numerous reasons I've been unable to get it!
Here are the row sources for the two combo boxes:
cbFacilityID
SELECT tblLocationIDsAddresses.numLocationAddressID
FROM tblLocationIDsAddresses;
cbLineID
SELECT tblFacLocAddIDsLineIDs.numLocationAddressID,
tblFacLocAddIDsLineIDs.LineID
FROM tblLocationIDsAddresses INNER JOIN tblFacLocAddIDsLineIDs ON
tblLocationIDsAddresses.numLocationAddressID =
tblFacLocAddIDsLineIDs.numLocationAddressID;
I need cbLineID to list the [LineID]'s according to the
[numLocationAddressID] as selected in cbFacilityID.
Thanks in advance for your help!
here in the right forum!
I've tried to populate a combo box before but never got it right. I'm
wondering if anyone out there could help me out?
I've got two combo boxes:
cbFacilityID
cbLineID
I want to populate cbLineID by what's selected in cbFacilityID. I know this
can be done but for numerous reasons I've been unable to get it!
Here are the row sources for the two combo boxes:
cbFacilityID
SELECT tblLocationIDsAddresses.numLocationAddressID
FROM tblLocationIDsAddresses;
cbLineID
SELECT tblFacLocAddIDsLineIDs.numLocationAddressID,
tblFacLocAddIDsLineIDs.LineID
FROM tblLocationIDsAddresses INNER JOIN tblFacLocAddIDsLineIDs ON
tblLocationIDsAddresses.numLocationAddressID =
tblFacLocAddIDsLineIDs.numLocationAddressID;
I need cbLineID to list the [LineID]'s according to the
[numLocationAddressID] as selected in cbFacilityID.
Thanks in advance for your help!