This is probably idiotically simple, but I'm having a huge mental block. Say I have a table with some records on stock/financials. One of the fields in the table defines whether the record is a "Purchase" or a "Sale". I can create a report which lists my records grouped by "Purchase" and "Sale" and I can include a control which gives a running sum total for each heading. I can get a grand total at the bottom of the report which adds Sales + Purchases. But what if I want to do Sales - Purchases, i.e. subtract one from the other? The simplified table layout is below:
ID Item Price Sale/Purchase
1 Fruit 10.00 Purchase
2 Veg 5.00 Purchase
3 Meat 8.00 Purchase
4 Veg 8.00 Sale
5 Meat 10.00 Sale
On my report, I need to list and total all Purchases, list and total all Sales, then subtract Purchases figure from Sales figure. Appreciate any help anyone can give.
ID Item Price Sale/Purchase
1 Fruit 10.00 Purchase
2 Veg 5.00 Purchase
3 Meat 8.00 Purchase
4 Veg 8.00 Sale
5 Meat 10.00 Sale
On my report, I need to list and total all Purchases, list and total all Sales, then subtract Purchases figure from Sales figure. Appreciate any help anyone can give.