SELECT tblTourDate.TourDate, tblTours.TourID, tblTourDate.TourID, tblTours.TourName
FROM tblTours LEFT JOIN tblTourDate ON tblTours.TourID = tblTourDate.TourID
WHERE (((tblTours.TourID)=[frmBookings].[TourID]));
_____________________________
This query returns all records without the WHERE statement (criteria) but if I point to tblTours.TourID which is on the frmBookings, I am prompted for a parameter value. This syntax is not correct but I have tried many variations.
I am looking to return all departure dates from tblTourDate. Its a one to many from tblTours -> tblTourDate with TourID being in both tables.
So on the frmBookings the TourID displays the tour name, and the TourDate should show those records (departure dates) accordingly.
The query works but the subform frmBookings is the problem.
Sorry for the explanation but it's really one combo box showing results based upon another combo boxes selection.
Thanks