A
alphamisanthrope
Please help, y'all.
Here's my statement:
SELECT tblTime.Hour, Count(*) AS HowMany
FROM tblStay, tblTime
WHERE tblTime.Hour Between [tblStay].[TimeIn] And [tblStay].[TimeOut]
GROUP BY tblTime.Hour;
tblTime is just a list of each hour of the day
tblStay has two columns, timeIn, timeOut
I, for the life of me, cannot get a zero to return. I've tried Nz all
kinds of ways and can't get it to go.
Any ideas?
Here's my statement:
SELECT tblTime.Hour, Count(*) AS HowMany
FROM tblStay, tblTime
WHERE tblTime.Hour Between [tblStay].[TimeIn] And [tblStay].[TimeOut]
GROUP BY tblTime.Hour;
tblTime is just a list of each hour of the day
tblStay has two columns, timeIn, timeOut
I, for the life of me, cannot get a zero to return. I've tried Nz all
kinds of ways and can't get it to go.
Any ideas?