Hi all,
Can anyone see an error in my query?
I am trying to setup a date alert that will notify me when a doctors excuse is 2 weeks from expiration.
Thanks ahead of time!
Can anyone see an error in my query?
I am trying to setup a date alert that will notify me when a doctors excuse is 2 weeks from expiration.
Code:
SELECT LightDuty.[Last Name], LightDuty.[Permanent Assignment], LightDuty.Unit, LightDuty.[Doctors Excuse Exp], LightDuty.EmailAddress, LightDuty.[Email Sent]
FROM LightDuty
WHERE (((LightDuty.[Doctors Excuse Exp])<=(Date()-14)) AND ((LightDuty.[Email Sent])=False));
Thanks ahead of time!