DukeofEarl
MIS
I am using a IIF function in a report footer to SUM negative and positive values. This isn't working.
I reference the [Fielda} as follows:
=IIF ([Fielda]< 0, Reports![Reporta]![txtDebitControl]+ [Fielda], Reports![Reporta]![txtCreditControl]+ [Fielda])
[Fielda] is part of the query and is detailed in the report detail section.
This expression is in a control in the report footer, but no values are printed. This should produce a total of debits and a total of credits. I have set the txtCreditControl as "unbound". The above expression is in the txtDebitControl (ControlSource property).
What am I doing wrong?
Thanks
DukeofEarl
I reference the [Fielda} as follows:
=IIF ([Fielda]< 0, Reports![Reporta]![txtDebitControl]+ [Fielda], Reports![Reporta]![txtCreditControl]+ [Fielda])
[Fielda] is part of the query and is detailed in the report detail section.
This expression is in a control in the report footer, but no values are printed. This should produce a total of debits and a total of credits. I have set the txtCreditControl as "unbound". The above expression is in the txtDebitControl (ControlSource property).
What am I doing wrong?
Thanks
DukeofEarl