A
Access rookie
Hello,
I feel dumb for posting this,but I have tried pretty much everything I know
right now (which didn't take too long).
I have a query that uses a calculated field from one of the other fields in
the table.
It works fine, however when I put in a criteria in the criteria field, say:
<=[Enter date:] I get only one record back.
Here's the working SQL without the criteria:
SELECT tblstudents.[Employee Number], tblstudents.Last, tblstudents.First,
tblstudents.FingerprintIssued, DateAdd("yyyy",6,[FingerprintIssued]) AS
[Expiry Date], tblstudents.FingerprintStatus, tblstudents.Type
FROM tblstudents
WHERE (((tblstudents.Type) Like "*" & "DSE" & "*"))
ORDER BY tblstudents.Last;
Thanks,
John.
I feel dumb for posting this,but I have tried pretty much everything I know
right now (which didn't take too long).
I have a query that uses a calculated field from one of the other fields in
the table.
It works fine, however when I put in a criteria in the criteria field, say:
<=[Enter date:] I get only one record back.
Here's the working SQL without the criteria:
SELECT tblstudents.[Employee Number], tblstudents.Last, tblstudents.First,
tblstudents.FingerprintIssued, DateAdd("yyyy",6,[FingerprintIssued]) AS
[Expiry Date], tblstudents.FingerprintStatus, tblstudents.Type
FROM tblstudents
WHERE (((tblstudents.Type) Like "*" & "DSE" & "*"))
ORDER BY tblstudents.Last;
Thanks,
John.