Hello,
I have reviewed the posts on this topic and believe it applies to my situation, but am lost on how to implement this. I have a report that displays and then totals (in the footer) the number of transactions by type. It counts them and sums them in two different boxes. The problem I am having is that a few of the transactions are very infrequent, so most often, there are none. The count function works fine, and shows 0 transactions. The sum, displays nothing, which then causes some of the other fields to not sum at all. My code on one of the infrequent transaction is:
=Sum(IIf([Type]='Report Sale',[Amount]))
How do I configure this with the nz to get it to return a 0?
Thanks in advance....
I have reviewed the posts on this topic and believe it applies to my situation, but am lost on how to implement this. I have a report that displays and then totals (in the footer) the number of transactions by type. It counts them and sums them in two different boxes. The problem I am having is that a few of the transactions are very infrequent, so most often, there are none. The count function works fine, and shows 0 transactions. The sum, displays nothing, which then causes some of the other fields to not sum at all. My code on one of the infrequent transaction is:
=Sum(IIf([Type]='Report Sale',[Amount]))
How do I configure this with the nz to get it to return a 0?
Thanks in advance....