Breakdown by hour query

travismp

Registered User.
Local time
Today, 21:31
Joined
Oct 15, 2001
Messages
386
In my system it shows when my users lon in with a date/time stamp.

examples:
"12/9/2008 9:00:27 AM"
"12/9/2008 8:50:58 AM"
"12/9/2008 8:48:35 AM"
ect...


I want to write a query which will give me a count by day then hour. I want
the query recordset to show me something like this:

12/9/2008 | 10:00 - 10:59 | 46
12/9/2008 | 9:00 - 9:59 | 58
12/9/2008 | 8:00 - 8:59 | 23

So it will need to break down the day, then clump the hours, then count the records. Can this be done?

thanks.
 
thank you rainman. I will check it out & check back if I get stuck. THANK YOU again.
 
*UGH* DCount in a query??? Please dont.. that is going to be SO SLOW!

You should make a group by query.
Use Hour(YourTime) to extract the time...

TimeFrame: Hour(yourTime) & ":00-" & Hour(Yourtime) & ":59"

Good luck
 

Users who are viewing this thread

Back
Top Bottom