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

Access 2002 Report Calculated Field

Status
Not open for further replies.

dianemarie

Instructor
Joined
Jul 11, 2001
Messages
583
Location
US
Hello, I have a report that has invoice information (from an Invoice table) on the detail line, with one group (by Vendor). Invoices go against POs (there is a separate PO table), and the report has to show total amount of POs, total of all invoices (by vendor) and the amount remaining against ALL of the POs for that vendor. I am having trouble getting the total amount of the POs. It is adding the PO total for each invoice. Example: If Vendor A has 2 POs for $5,000 each, but has three invoices (two against PO1 and one against PO2) then the total amount of PO says 15,000. I am a Crystal report developer and in Crystal I would use what we call a Running Total in an instance like this. However, I can't figure out how to do this in Access. Do I accomplish it in the query or the report? Any help would be greatly appreciated. Thank you.
 
You may have luck with aggregate functions such as DSUM. The syntax & usage are available in MS help.
Good luck!

I have great faith in fools; self-confidence my friends call it.
-Poe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top