This is my first post on this forum. My question is regarding report footer subtotals. The report is grouped on a RefTag number, and ObjCode number. In an ObjCode footer are calculated two expenditure amounts/columns for a DebitSub (positive values for the objcode detail totals) and CreditSub (negative values for the objcode detail totals), so that if the total value for all ObjCode(s) is positive it displays in the Debit column, negative in the Credit column. The control source I am using for each is:
DebitSub >>: =IIf([AmtExpend]>0,(Sum([AmtExpend])),0)
CreditSub >>: =IIf([AmtExpend]<0,(Sum([AmtExpend])),0)
How do I get a total for both subtotals? I’ve tried the =Sum([DebitSub]) in another textbox, but it doesn’t pull the DebitSub value from the report, instead it prompts for a value, which won’t work.
The report should look something like:
RefTagHeader:
RefTag#
Date
ObjCodeFooter:
NAME OBJCODE DEBIT CREDIT
CCenter 411601 $0.00 ($43.56)
CCenter 414078 $745.96 $0.00
CCenter 415123 $0.00 ($1,116.01)
RefTagFooter:
DEBIT TOTAL CREDIT TOTAL
$$$$$$$$$$ $$$$$$$$$$$
GRAND TOTAL = ($413.61)
It seems simple enough but I just can't seem to figure it out. Please help.
DebitSub >>: =IIf([AmtExpend]>0,(Sum([AmtExpend])),0)
CreditSub >>: =IIf([AmtExpend]<0,(Sum([AmtExpend])),0)
How do I get a total for both subtotals? I’ve tried the =Sum([DebitSub]) in another textbox, but it doesn’t pull the DebitSub value from the report, instead it prompts for a value, which won’t work.
The report should look something like:
RefTagHeader:
RefTag#
Date
ObjCodeFooter:
NAME OBJCODE DEBIT CREDIT
CCenter 411601 $0.00 ($43.56)
CCenter 414078 $745.96 $0.00
CCenter 415123 $0.00 ($1,116.01)
RefTagFooter:
DEBIT TOTAL CREDIT TOTAL
$$$$$$$$$$ $$$$$$$$$$$
GRAND TOTAL = ($413.61)
It seems simple enough but I just can't seem to figure it out. Please help.