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

Is there a "where" function for running totals

Status
Not open for further replies.

PQTIII

IS-IT--Management
Sep 21, 2004
110
I'm trying to show the totals for different products in the report footer in separate text boxes. Is there some type of function you can put in the running total box to only count the records for a certain product?

Thanks
Paul
 
Hi
Here are a few more ideas, maybe one is what you want.
In the Detail Section:
[tt]=IIf([Product]<>"Hats",[InvoiceAmt],0)[/tt]

In the Report Footer:
[tt]=Sum(IIf([Product]="PCs",[InvoiceAmt],0))[/tt]

A count:
[tt]=Sum(Abs([Product] Like "Ref*"))[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top