bethabernathy
Programmer
I am trying to generate a calculation on a report. The database tracks a ski areas lockers revenue and member information. I need to calculate the total deposit amount for the lockers. If the field "PPDepPaid" from the Locker table is equal to "Yes", then the field "ParkingDepositPrice" from the Prices table needs to be totalled in the report.
So in the report footer I am using the following syntax in a text box: "=IIf([PPDepPaid]=-1,[ParkingDepositPrice])"
How do I get the syntax to Sum the "ParkingDepositPrice" only when the field "PPDepPaid" (which is a Yes/No field) is equal to Yes or -1?
Any help is really appreciated. Thanks, Beth beth@integratedresourcemgmt.com
So in the report footer I am using the following syntax in a text box: "=IIf([PPDepPaid]=-1,[ParkingDepositPrice])"
How do I get the syntax to Sum the "ParkingDepositPrice" only when the field "PPDepPaid" (which is a Yes/No field) is equal to Yes or -1?
Any help is really appreciated. Thanks, Beth beth@integratedresourcemgmt.com