R
Ripper
I have a frontend linked to a SQL 2000 database.
I have a table (tblIssIn) that contains student assignments to ISS,
IssInID(Auto#), LocID, StartDate, EndDate.
I want to create a query or nest of, that count the number of students in
ISS and for 40 days from today's date.
I have a table ,tblDaysAdvance, that I use in a query to create a list of
dates from today to 40+ days from today.
How do I use the StartDate and EndDate to count the students in ISS by
without getting the dreaded error about aggegate functions and group by.
#1820 I think. I was successfully using the following sql query, but I get
the error when I try to use it in SQl. Anyone have any tips?
SELECT qryDaysAdvance.TheDate, Count(*) AS NumOf
FROM tblIssIn, qryDaysAdvance
WHERE (((qryDaysAdvance.TheDate) Between [StartDate] And [EndDate]))
GROUP BY qryDaysAdvance.TheDate
ORDER BY qryDaysAdvance.TheDate;
I have a table (tblIssIn) that contains student assignments to ISS,
IssInID(Auto#), LocID, StartDate, EndDate.
I want to create a query or nest of, that count the number of students in
ISS and for 40 days from today's date.
I have a table ,tblDaysAdvance, that I use in a query to create a list of
dates from today to 40+ days from today.
How do I use the StartDate and EndDate to count the students in ISS by
without getting the dreaded error about aggegate functions and group by.
#1820 I think. I was successfully using the following sql query, but I get
the error when I try to use it in SQl. Anyone have any tips?
SELECT qryDaysAdvance.TheDate, Count(*) AS NumOf
FROM tblIssIn, qryDaysAdvance
WHERE (((qryDaysAdvance.TheDate) Between [StartDate] And [EndDate]))
GROUP BY qryDaysAdvance.TheDate
ORDER BY qryDaysAdvance.TheDate;