hope someone could help me to understand how to solve my question. I have in my datebase table PAYMENTS like this:
| PAYMENTS.PAYMENT | PAYMENTS.TOTAL |
| CASH |1000 |
| DEBT |500 |
| DEBTPAID |200 |
The problem is: CASH is calculated as cash from sales plus DEBTPAID. So I need to have this data individualy (CASH-DEBTPAID AS CASH) in my report.
How can I do in iReport to modify PAYMENTS.PAYMENT as I describe above. I much appreciate your support! Thank you in advance!
This SQL would give you a separate record for CASH and DEBT: