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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Count of records per date 2

Status
Not open for further replies.

Saint1234

Programmer
Feb 18, 2004
25
IE
Hi all,
I have a report which has a series of records taken over a date range. Each record contains an address, dateTime and status. The date range is select through a parameter that i have created. What i need to know is, is there a way that I can add the number of records per day? The dateTime field is populated from SQL server in the format
'24/06/2004 14:44:49' I need to be able to count how many records there are for the 24/06/2004, 25/06/2004 etc. Hope someone can help.

Many Thanks in Advance
G
 
Group by your datetime field, by day, and then add a summary field on an appropriate detail field to count your records by day.

Jeff Prenevost
IS Administrator
Emergency Physicians Medical Group, PC
Ann Arbor, MI
 
You could create a formula {@date} and group on it:

date({table.datetime})

Then right click on this formula in the detail section and insert a count.

-LB
 
Oops, right, you don't even need the formula.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top