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

Reports In Access How do I use VBA

Status
Not open for further replies.

Neak1

Computer
Joined
Sep 10, 2001
Messages
12
Location
US
Hello Everyone,

I have an Access Report with 3 fields Name,Code,and Amount fields. I need to generate totals at the end of the report if some conditions are met. For example: if the code field is equal to A then sum all the amounts in the amount field and display the totals at the end of the report. There are 6 different codes and I need to be able to calculate total amounts for each code within the report.

If anyone can help me then it would be greatly appreciated.

Neak1
 
Search for "If...then...else" in Access help.
 
Use queries to generate your totals then insert the results in your report.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top