fryguy5049
Technical User
Using CR 10 & MySQL. Currently I have a group that is sorted on a formula (@acct). @acct has numerous if statements to group on. e.g.
else if {trial_bal.acct} in [4103 to 4155] then
"Late Charge Income-Retail Lines of Credit"
The problem is every so often I need a sub-total, for example after the if statement listed above I would like a line that totaled accounts 1000-5000. This needs to be done several times throughout the report. What is the best method? Here is a sample of my data:
ACCT AMT DATE
1000 53 08/01/2004
1200 11 08/01/2004
1000 43 08/02/2004
2000 56 08/01/2004
2000 33 08/02/2004
3000 88 08/01/2004
3000 99 08/02/2004
Here is what the report looks like:
today(date) yesterday(date) variance
Operating Expense
Salaries (acct 7000-7006) $1000 $1500 $(500)
Mktg. Expense (acct 7007) $45,000 $43,000 $2000
Total Operating Expense $46,000 $44,500 $1500
thanks
else if {trial_bal.acct} in [4103 to 4155] then
"Late Charge Income-Retail Lines of Credit"
The problem is every so often I need a sub-total, for example after the if statement listed above I would like a line that totaled accounts 1000-5000. This needs to be done several times throughout the report. What is the best method? Here is a sample of my data:
ACCT AMT DATE
1000 53 08/01/2004
1200 11 08/01/2004
1000 43 08/02/2004
2000 56 08/01/2004
2000 33 08/02/2004
3000 88 08/01/2004
3000 99 08/02/2004
Here is what the report looks like:
today(date) yesterday(date) variance
Operating Expense
Salaries (acct 7000-7006) $1000 $1500 $(500)
Mktg. Expense (acct 7007) $45,000 $43,000 $2000
Total Operating Expense $46,000 $44,500 $1500
thanks