Z
znibk
Hello to all of you, in the past you have been helpful in clearning up my
problems, so I hope you can clear this one up for me.
I have been asked to base my total expense report for the month on only the
checks which hae cleared the bank. I ave used these IIF statements which
say=sum([cleared],-1,[ckamt],0)) as my control source
=sum([cleared]="yes",[ckamt],0)
The subreport is totaling the expenses, however, it is not leaving out the
checks which have not cleared the bank. To accomplish that task, I added the
field [Cleared] with data type set to yes/no in the table, queries, etc.
However, as I stated above, the subreport is still calculating the subreort
based on all checks written during the month for expenses.
Can somone help me come up with the correct IIF statement, and what I should
do?
Thanks a bunch and God Bless all of you for the help you give me (us).
problems, so I hope you can clear this one up for me.
I have been asked to base my total expense report for the month on only the
checks which hae cleared the bank. I ave used these IIF statements which
say=sum([cleared],-1,[ckamt],0)) as my control source
=sum([cleared]="yes",[ckamt],0)
The subreport is totaling the expenses, however, it is not leaving out the
checks which have not cleared the bank. To accomplish that task, I added the
field [Cleared] with data type set to yes/no in the table, queries, etc.
However, as I stated above, the subreport is still calculating the subreort
based on all checks written during the month for expenses.
Can somone help me come up with the correct IIF statement, and what I should
do?
Thanks a bunch and God Bless all of you for the help you give me (us).