473,378 Members | 1,319 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Report by hour / day

My Access app stamps the date and time for each database entry.

I'd like to generate a report of:

- the number of entries per hour of day (0 - 23), and also
- the number of entries per day of month (1 - 31)

Any insights are greatly appreciated.

Thanks,

Jim
Nov 12 '05 #1
3 3935
Take a look at using Totals Queries. You get from regular SELECT to totals
queries in the Query Builder on the menu by View | Totals. You'd create a
calculated field to extract the day or the hour, and then select Group By on
that Field.

Larry Linson
Microsoft Access MVP

"Jim Adams" <ji*******@hotmail.com> wrote in message
news:49**************************@posting.google.c om...
My Access app stamps the date and time for each database entry.

I'd like to generate a report of:

- the number of entries per hour of day (0 - 23), and also
- the number of entries per day of month (1 - 31)

Any insights are greatly appreciated.

Thanks,

Jim

Nov 12 '05 #2
Jim Adams wrote:
My Access app stamps the date and time for each database entry.

I'd like to generate a report of:

- the number of entries per hour of day (0 - 23), and also
- the number of entries per day of month (1 - 31)

Any insights are greatly appreciated.

Thanks,


Since your apps have a date time stamp, when you create a Totals query
to roll them up, you may want to convert the date field using DateSerial
and TimeSerial....or use the Format. Using DateSerial will be better
since it will sort better. Simply make that an extra column in the
query.

For example, let's say you have a datetime of 12/19/03 17:00:55 stored
to variable x and today is the 19th of Dec.

If you entered Debug.Print x >= Date And x <= Date it would return
False. Why? Because Date is 12/19/03 00:00:00.
Nov 12 '05 #3
use the "datepart" function to create a calculated field for the hour / and
/ or day and use this field as a group level in your report

Syntax

DatePart(interval, date[,firstdayofweek[, firstweekofyear]])

cheers

paul g
"Jim Adams" <ji*******@hotmail.com> wrote in message
news:49**************************@posting.google.c om...
My Access app stamps the date and time for each database entry.

I'd like to generate a report of:

- the number of entries per hour of day (0 - 23), and also
- the number of entries per day of month (1 - 31)

Any insights are greatly appreciated.

Thanks,

Jim

Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Michael Wiseley | last post by:
I would like to make a user report automatically close after it has been left open in preview mode for more than 1 hour. I don't see a timer control or timer event in the report properties. Is...
1
by: christian | last post by:
HI all, I've several fields in a report which datatype is Date/Time. Day WorkedHours Monday 8:00 Tuesday 8:00 Wednesday 8:00 Thursday 7:00...
2
by: James P. | last post by:
Hello, In my Access report, I have a minutes field in the detail line. How do I convert that minute to hour and minute. The problem for me now is if I take the minutes, say 75 divide by 60, it...
4
by: CH | last post by:
Hi, I recently encountered a problem while trying to create a report grouped by certain time frames. However, Access only allows grouping in Minutes or Hours. For example, the first time frame is...
0
by: Vincent | last post by:
For anyone familiar with Duane's report (http://www.invisibleinc.com/download.cfm?filFilID=6)... This report is perfect for a project I am working on. I am a novice to creating reports in...
1
by: Susan Bricker | last post by:
Greetings. I have a report (actually all of my reports in an MDB) that I want to date/time stamp at the bottom. Previously, I had used the builtin function of Now(). I thought that would give...
10
ollyb303
by: ollyb303 | last post by:
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 And ) and...
3
by: mdpems | last post by:
I am currently working on creating a Clock in/out form for our work place. I have the form done but the only way that I can get the time differences to work properly is to leave the Total time for...
4
by: TwoBit | last post by:
Hello Bytes, I am very new at using Microsoft Access and have just recently implicated it in recording productivity on outbound calls for my team. My team is in charge of making outbound calls...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.