About Sum & IIF, help!

Y

yanni

In the Report, while I write "=Sum(IIf(Condition,value1,value2))" on MDB
format,it works fine; but when changed to ADP format, still the same
expression, I received such a error msg:


"The expression 'Sum(IIf(Condition,value1,value2))' is invalid.
Aggregate functions are only allowed on output fields of the Record Source."

Any ideas?
THX
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top