I can make these formulas using the "Running Total" function but how do you do it using formulas? For instance, I can make formulas that SUM but I don't know how to add the "On Change Of" feature to it.
Are you referring to creating manual running totals using variables? If you were trying to get a grand total that summed on change of group, e.g., Customer ID, so that you only the first record in the group was accumulated, you would create a formula like for the detail section:
whileprintingrecords;
numbervar sumtot;
if onfirstrecord or
{table.custID} <> previous({table.custID}) then
sumtot := sumtot + {table.amt} else
sumtot := sumtot;
Then create a display formula for the report footer:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.