WhilePrintingRecords;
NumberVar Qty;
Qty:= Qty + Sum ({IMINVTRX.quantity}, {IMINVTRX.item_no})
This next section fails :
WhilePrintingRecords;
Numbervar Pct;
//Pct:=PercentOfSum (Sum ({IMINVTRX.quantity}, {IMINVTRX.item_no}), Sum ({IMINVTRX.quantity}))
//Pct:=Sum ({IMINVTRX.quantity}, {IMINVTRX.item_no})/Sum ({IMINVTRX.quantity})
What I am trying to accomplish is a running total by group followed by the percentage of the group total to grand total:
Group 1 Running Ttl 100 10%
Group 2 Running Ttl 250 25% etc etc
Both of the lines marked "//" failed.
Please advise...I don't have any more hair to pull out trying to do this