Hello,
Need some help with an Access 2000 query.
My query is based on a table which is a log of calls to my company.
I am using a date range entered by the user
(Date Between [StartDate] And [EndDate])
and CountOfRefNumbe r (RefNumber is the PK).
Currently I am using this:
LogTimes: Format(TimeSeri al(Hour([Time]),0,0),"Short Time") & "-" & Format(TimeSeri al(Hour([Time]),59,0),"Short Time")
to break the number of calls down by hour, so my query looks like this:
Date LogTimes CountOfRef Number
14/01/2008 08:00-08:59 1
14/01/2008 09:00-09:59 3
14/01/2008 10:00-10:59 4
14/01/2008 11:00-11:59 1
14/01/2008 13:00-13:59 5
14/01/2008 14:00-14:59 1
15/01/2008 08:00-08:59 2
15/01/2008 11:00-11:59 1
15/01/2008 14:00-14:59 1
16/01/2008 09:00-09:59 1
17/01/2008 10:00-10:59 1
This is all well and good, but now I need to break it down by 1/2 hour intervals (e.g. 08:00-08:29, 08:30-08:59, 09:00-09:30, etc.) and I don't know how.
Any help gratefully received.
Many thanks,
Olly
Need some help with an Access 2000 query.
My query is based on a table which is a log of calls to my company.
I am using a date range entered by the user
(Date Between [StartDate] And [EndDate])
and CountOfRefNumbe r (RefNumber is the PK).
Currently I am using this:
LogTimes: Format(TimeSeri al(Hour([Time]),0,0),"Short Time") & "-" & Format(TimeSeri al(Hour([Time]),59,0),"Short Time")
to break the number of calls down by hour, so my query looks like this:
Date LogTimes CountOfRef Number
14/01/2008 08:00-08:59 1
14/01/2008 09:00-09:59 3
14/01/2008 10:00-10:59 4
14/01/2008 11:00-11:59 1
14/01/2008 13:00-13:59 5
14/01/2008 14:00-14:59 1
15/01/2008 08:00-08:59 2
15/01/2008 11:00-11:59 1
15/01/2008 14:00-14:59 1
16/01/2008 09:00-09:59 1
17/01/2008 10:00-10:59 1
This is all well and good, but now I need to break it down by 1/2 hour intervals (e.g. 08:00-08:29, 08:30-08:59, 09:00-09:30, etc.) and I don't know how.
Any help gratefully received.
Many thanks,
Olly
Comment