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

Totaling a column that uses a DoWhilePrinting

Status
Not open for further replies.

jchewsmith

Technical User
Nov 20, 2006
161
US
I am using the following formula to calculate a sell price per item. Is there a way to get a grand total for the sell price of all items?


global numbervar newitems;
global numberVar items;
global numbervar remain;
WhilePrintingRecords;
If {SS_MFGRcptbyJob.MRJobRcptQty} > items then remain:= items
else if {SS_MFGRcptbyJob.MRJobRcptQty} <= items then remain:={SS_MFGRcptbyJob.MRJobRcptQty};
items:=items-remain;
newitems:=remain;




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top