I am trying to sum based on multiple criteria.
I want to be able to have a calculated sum in one field that can automatically calculate the dollar amount of all records in a transaction that the ysnSP field = "YES".
So I created a field in my report and added this below. However it did not display anything when running the report.
=DSum("currBV * intOutCardQty","qrptTransactionsOut","ysnSP = yes" & [pkTransID]=[pkTransID])
Any help would be great!
Thanks
-Pat
I want to be able to have a calculated sum in one field that can automatically calculate the dollar amount of all records in a transaction that the ysnSP field = "YES".
So I created a field in my report and added this below. However it did not display anything when running the report.
=DSum("currBV * intOutCardQty","qrptTransactionsOut","ysnSP = yes" & [pkTransID]=[pkTransID])
Any help would be great!
Thanks
-Pat