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!

MS Access 97 Dates and Sums

Status
Not open for further replies.

Zuzia

Programmer
Jun 21, 2005
12
US
Hello,

I am using VBA to create a report showing the monthly cost summaries. The search dates are input by the user, and the report returns the month by month sum result. Right now this report is broken down so as to sum monthly results per customer, what I need is a sum of monthly results in total for a given period. So say that I have 2 customers, I need to have one monthly summary as opposed to one for each customer. Any suggestions?

Thanks,
Z
 
Although you say VBA, do you have a report object for this? If yes, all you need to do is change the 'sorting and grouping' options to group by month. If you need to break out the month, you can have your query use 'Mth:Month(tbl1.somedate)'


Code: Where the vision is often rudely introduced to reality!
 

There is also a Microsoft: Access Reports Forum here forum703 to join
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top