Hi All,
I am trying to count the number of different students seen between two dates.
I have tried the following:
this statement works fine without a date range clause in it but I really need to only count the number of students between these particular dates.
Is there anything wrong with my syntax?
When I run the above statement it brings up a parameter box saying 'tbl_TutorialRecords.Date' and then a space to enter.
Any ideas appreciated

I am trying to count the number of different students seen between two dates.
I have tried the following:
Code:
SELECT Count(*) AS Students
FROM (SELECT DISTINCT StudentID FROM tbl_TutorialRecords0708) AS T
WHERE (((tbl_TutorialRecords0708.Date) Between #9/1/2007# And #8/31/2008#));
this statement works fine without a date range clause in it but I really need to only count the number of students between these particular dates.
Is there anything wrong with my syntax?
When I run the above statement it brings up a parameter box saying 'tbl_TutorialRecords.Date' and then a space to enter.
Any ideas appreciated
