Hi,
I have a query in MSAccess. What i'm trying to do is return a result set that contains the data from the Master query that is NOT present in the sub-query. In Pseudo-SQL its something like:
SELECT *
FROM tblClients
WHERE (entryDate between (getUnBookedStart() and getUnBookedEnd())) and
(tblClients.index NOT IN (SELECT tblClients.index, tblBookinds.clientID FROM tblClients, tblBookings WHERE tblClients.index = tblBookings.clientID) ;
I'm stuck as to how to achieve this - any ideas? (If what i'm getting at doesnt make sense i'll try and make it clearer...)
Thanks,
Danny
I have a query in MSAccess. What i'm trying to do is return a result set that contains the data from the Master query that is NOT present in the sub-query. In Pseudo-SQL its something like:
SELECT *
FROM tblClients
WHERE (entryDate between (getUnBookedStart() and getUnBookedEnd())) and
(tblClients.index NOT IN (SELECT tblClients.index, tblBookinds.clientID FROM tblClients, tblBookings WHERE tblClients.index = tblBookings.clientID) ;
I'm stuck as to how to achieve this - any ideas? (If what i'm getting at doesnt make sense i'll try and make it clearer...)
Thanks,
Danny