M
Maggic
I am trying to run a query to select records which satisfy the following
criteria:
TODAYD equal to today's date & SUBJECT not equal to "wasps" & TECHNICIAN not
equal to "carl"
Following is the sql code generated from my query:
SELECT Contacts.*, [LastName] & ", " & [firstName] AS LastFirst INTO Qtdate
FROM Contacts
WHERE (((Contacts.Todayd)=Date()) AND ((Contacts.Subject)<>"wasps") and
((Contacts.Technician)<>"carl"));
There are two records which satisfy the above criteria, but I get nothing.
If I eliminate the check on TECHNICIAN I get all the non wasp records, but I
of course also get the records with TECHNICIAN equal to "carl"
Obviously I am doing something wrong .. some help would be much appreciated.
Maggic
criteria:
TODAYD equal to today's date & SUBJECT not equal to "wasps" & TECHNICIAN not
equal to "carl"
Following is the sql code generated from my query:
SELECT Contacts.*, [LastName] & ", " & [firstName] AS LastFirst INTO Qtdate
FROM Contacts
WHERE (((Contacts.Todayd)=Date()) AND ((Contacts.Subject)<>"wasps") and
((Contacts.Technician)<>"carl"));
There are two records which satisfy the above criteria, but I get nothing.
If I eliminate the check on TECHNICIAN I get all the non wasp records, but I
of course also get the records with TECHNICIAN equal to "carl"
Obviously I am doing something wrong .. some help would be much appreciated.
Maggic