E
Eric
Hi:
I am using two multi-select listboxes. I use one saved query that refers to
another saved query, but I am just curious if there is a way to turn this
into a single SQL statement? I mostly only use the query design grid...
Query 1:
SELECT tblEvent.Event_ID, tblEvent.Event, Query2.Student_ID
FROM tblEvent LEFT JOIN Query2 ON tblEvent.Event_ID = Query2.Event_ID
WHERE (((Query2.Student_ID) Is Null));
Query 2:
SELECT tblStudentEvent.Student_ID, tblStudentEvent.Event_ID
FROM tblStudentEvent
WHERE
(((tblStudentEvent.Student_ID)=[forms]![frmStudentEvent]![txtStudent_ID]));
Thanks!
Eric
I am using two multi-select listboxes. I use one saved query that refers to
another saved query, but I am just curious if there is a way to turn this
into a single SQL statement? I mostly only use the query design grid...
Query 1:
SELECT tblEvent.Event_ID, tblEvent.Event, Query2.Student_ID
FROM tblEvent LEFT JOIN Query2 ON tblEvent.Event_ID = Query2.Event_ID
WHERE (((Query2.Student_ID) Is Null));
Query 2:
SELECT tblStudentEvent.Student_ID, tblStudentEvent.Event_ID
FROM tblStudentEvent
WHERE
(((tblStudentEvent.Student_ID)=[forms]![frmStudentEvent]![txtStudent_ID]));
Thanks!
Eric