Hi everyone,
I have a report that has a text box and the text box simply shows the
sum of the amount field in the report.
So, the control source is simple = SUM(Amount).
The problem is that sometimes the query can return no records. In that
case, my report just shows #ERROR for this field. What I would like to
do is check if the SUM(AMOUNT) value is NULL and if it is NULL, I would
like to just show 0.
With VBA, of course, it is straight forward. However, I have no idea
how to use it with the reporting stuff.
Appreciate any help you can give me.
Thanks,
Pankaj