Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running total of transactions where some TAKE AWAY from total

Status
Not open for further replies.

Eggers

Technical User
Mar 23, 2008
5
GB
I have a transactions report, showing all the transactions that have occurred in the last week. My transactions query has an in/out column, for whether money is flowing in or out of the company.

I would like my report to take this into account when calculating the total, so when this is set to out it takes away instead of adding on, but I haven't used Access in a loooong time and I'm struggling. Any help would be really appreciated, thanks :)
 
sorry should be
iif(inout="in",amount,-amount)
 
That seems to have worked, thanks a lot :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top