Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • 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
Sep 10, 2001
12
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
 
Replies continue below

Recommended for you

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