On Open Event Subform

J

JohnLute

I have two subforms:

sfrmPKProfilesAssocsFacIDs:
SELECT tblPKProfilesAssocsFacIDs.ProfilesAssocsFacIDsID,
tblPKProfilesAssocsFacIDs.ProfilesAssociationsID,
tblPKProfilesAssocsFacIDs.txtFacilityID, tblPKProfilesAssocsFacIDs.Comments
FROM tblPKProfilesAssocsFacIDs
ORDER BY tblPKProfilesAssocsFacIDs.txtFacilityID;

sfrmPKProfilesAssocsFacIDsLineIDs:
SELECT tblPKProfilesAssocsFacIDsLineIDs.ProfilesAssocsFacIDsID,
tblPKProfilesAssocsFacIDsLineIDs.LineID,
tblPKProfilesAssocsFacIDsLineIDs.Comments FROM
tblPKProfilesAssocsFacIDsLineIDs ORDER BY
tblPKProfilesAssocsFacIDsLineIDs.LineID;

sfrmPKProfilesAssocsFacIDsLineIDs.LineID is a combo box:
SELECT tblFacilitiesLineIDs.LineID, tblFacilitiesLineIDs.Description,
tblFacilitiesLineIDs.txtFacilityID, tblFacilities.FacilityName,
tblFacilities.City, tblFacilities.StateOrProvince
FROM tblFacilities INNER JOIN tblFacilitiesLineIDs ON
tblFacilities.txtFacilityID = tblFacilitiesLineIDs.txtFacilityID;

How can I have this combo box open and display the LineID records according
to the record selected in sfrmPKProfilesAssocsFacIDs.txtFacilityIDtxtFacility?

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top