Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Counting number of records for each day 1

Status
Not open for further replies.

sbbrown9924

Technical User
Mar 7, 2003
80
US
I have a database where I am collecting statistics on the number of patients that visited an emergency room. I need to be able to report the highest number of patients that visited in one day during the time reporting interval. I have a simple query that asks for all records in the visitor log database between two dates. Any ideas how to set this up?
 
Assuming your query properly groups the records by date and fetches aggregate values (Count(), etc.) it's just a question of displaying/reporting the results, isn't it?

If I were doing this I'd probably write it as an HTA to provide a decent UI for selecting the date range, then populate an Excel worksheet in a new workbook with the counts by day, and finally add an Excel chart based on the worksheet.

Most of that has been described here in other threads, perhaps a few FAQs.
 
cool - I have a hard time planning out these things. Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top