Hi there! I hope you can help me!
I have the following code:
SELECT COUNT(Applications.[Date Application Received]) AS TOTAL
FROM Applications
WHERE DateDiff('d',[Date Application Received],Date()) <6 AND
[Statement/Cert Letter/] = "Certificate";
Which returns the number of applications received between todays date
and 5 days previous.
However, I want to modify this so that the user enters both the first
date and the second date. I've tried experimenting by replacing the
Date() with an actual date, but it doesn't return the correct result.
Even if I put the same date that the Date() function would use. I'm
not sure how I get a prompt to appear so that the user can input the
dates anyway, although it sometimes happens for some reason!
Any help would be hugely appreciated! Thank you in advance!
Contro