473,385 Members | 1,337 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,385 software developers and data experts.

People per hour Chart

jimleon
74
Hello Community.

I have a table consisting of a date / time field and a number field, the first being what time the people entered and the latter being the number of people to enter. I wish to display this data as a line graph with 15 minute intervals so every quarter of an hour it will display the count of all people through the door in that period to show busy times. I am using Access 2003. Do any of you people know if there is a solution to this problem.

Many Thanks
Mar 13 '12 #1
5 3038
Mihail
759 512MB
This is most to subscribe than to provide help because I have troubles to understand what you have and, also, what you wish to achieve.

In my opinion a door can be passed by only one person at a time.
In this case the second field (number) is no more needed because you can count the records in Date/Time field from 15 to 15 minutes.

But from your post the situation seems to be different:
You count, from time to time, how many people pass the door in the last time interval.
In that case why you not set the time intervals to a quart of hour ?

More, I don't understand if you have troubles to count peoples from 15 to 15 minutes or you have troubles to draw the graphic or both.

I am almost sure that a solution exist :) but you need to be more specific.
Mar 14 '12 #2
jimleon
74
sometimes more than one person enters with the registrant

Table data like this:

number time
3 01/01/12 10:30:05
1 01/01/12 10:32:25
4 01/01/12 10:34:02
2 01/01/12 10:37:35
1 01/01/12 10:44:15
etc....

An i need to plot a chart of people in verus time in 15 minute segments
Mar 14 '12 #3
MikeTheBike
639 Expert 512MB
Hi

This query will sum the Number column for 15 min period (period ending time)
Expand|Select|Wrap|Line Numbers
  1. SELECT Sum(tbllNumberCount.lngNumber) AS [Count], Format(Int([dtTime]*96+1)/96,"dd/mm/yy hh:nn:ss") AS [Time Period Ending]
  2. FROM tbllNumberCount
  3. GROUP BY Format(Int([dtTime]*96+1)/96,"dd/mm/yy hh:nn:ss");
For period begining query this
Expand|Select|Wrap|Line Numbers
  1. [dtTime]*96+1
shouold be changed to this
Expand|Select|Wrap|Line Numbers
  1. [dtTime]*96
HTH

MTB
Mar 14 '12 #4
jimleon
74
Many thanks, I will try it later and let you know!
Mar 14 '12 #5
Mihail
759 512MB
I hate SQL ! Totally. For all my life. Final word.
In attachment you will find a solution.

There are two databases: .accdb (for 2007) and .mdb (for 2003).
I have not tested in 2003.

And a link to a very useful article:
http://www.vb123.com.au/toolbox/09_a...07charting.htm

Good luck !
Attached Files
File Type: zip 15minutes.zip (175.1 KB, 195 views)
Mar 14 '12 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Herb Kauhry | last post by:
I've been scratching my head on this for quite awhile and it has me stumped. I hope to define a query which I can use to fill a "day planner" type of calendar. Although I've see a lot of these,...
5
by: Brooks Clayton | last post by:
I have an A97 db on Win2k machine. I have a make table query to update a small db wich we then FTP to our website for customer order status. What is the best way to automate the query to run...
1
by: Empire City | last post by:
I have to give a 3 hour C#.NET speech/presentation to a non-technical and/or semi-non-technical audience. Can anyone point me to some resources to put this together? Thank you.
3
by: A | last post by:
Hello, I try to make a Windows Service that doing some action at each begin of hour. I cannot use the task schedule. I have try to use thread, timer ... But nothing is correct. Do you have...
2
by: spoonerstreet | last post by:
I am trying to take standard MS Time: 2/22/2006 8:56:37 AM (stored in MS Decimal Format) and convert it to the half hour of the day it occurred in: 2/22/2006 8:56:37 AM would be in the 18th...
3
by: Shawn Yates | last post by:
I have a database that I am using as a Time clock where employees can clock in and out. Is there a way to make it so that when they clock out a form would open displaying their work day hour by...
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...
5
by: maury | last post by:
Hello, I have an SQL Server table with a (text) field in which there is a data value in this format: 200802290525 I need to build an update query the modifies this value subtracting 1 (one)...
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
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: 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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.