G
Guest
I'm in need of additional help on a query that I thought I had figured out.
The problem that I got help on before is located at the following URL:
http://msdn.microsoft.com/newsgroup...7d0ed9-474e-481a-b196-a0867467a3eb&sloc=en-us
The SQL statements I used are as follows:
SELECT [CSO Overflow Visual Inspection].CSO,
Count(IIf([Overflow]="yes",1,Null)) AS NumofOverflows
FROM [CSO Overflow Visual Inspection]
WHERE ((([CSO Overflow Visual Inspection].Overflow)<>"False"))
GROUP BY [CSO Overflow Visual Inspection].CSO;
This statement works fine for finding the Total number of overflows for ALL
dates, however, I want to be able to find the total number of overflows
between a date range. When I add a Between..And statement in the query
design mode, it works to get the dates but it lists each date in a seperate
line along with the point number. I want there to be one column for the
point number with each point only having one row, and then one column for the
number of overflows between the dates. Let me know if this doesn't make
sense or if you have any questions as it is difficult to explain. Thanks for
any help you can give.
The problem that I got help on before is located at the following URL:
http://msdn.microsoft.com/newsgroup...7d0ed9-474e-481a-b196-a0867467a3eb&sloc=en-us
The SQL statements I used are as follows:
SELECT [CSO Overflow Visual Inspection].CSO,
Count(IIf([Overflow]="yes",1,Null)) AS NumofOverflows
FROM [CSO Overflow Visual Inspection]
WHERE ((([CSO Overflow Visual Inspection].Overflow)<>"False"))
GROUP BY [CSO Overflow Visual Inspection].CSO;
This statement works fine for finding the Total number of overflows for ALL
dates, however, I want to be able to find the total number of overflows
between a date range. When I add a Between..And statement in the query
design mode, it works to get the dates but it lists each date in a seperate
line along with the point number. I want there to be one column for the
point number with each point only having one row, and then one column for the
number of overflows between the dates. Let me know if this doesn't make
sense or if you have any questions as it is difficult to explain. Thanks for
any help you can give.