G
Guest
My report calculates upon the total of the subreport, but some records on the
main report have no corresponding records on the subreport, so in the
calculated field on the main report, I get "#Error".
Main Report: Item Invoice
Sub_report: Payments Received
A customer can pay several times, so there is a sum of "payment amount" on
the subreport after the payment details. This field is called "sumofpayments"
On the main report, I have this: "=[grandtotal]-[Payments
Received].Report!sumofpayments" which calculates the balance due after all
payments, where "grandtotal" is the total of purchases on the main report.
When a customer has not made any payments, I would like to just to display
the balance due ("grandtotal") since the subreport doesn't display if there
are no records, but I'm not good with expressions.
main report have no corresponding records on the subreport, so in the
calculated field on the main report, I get "#Error".
Main Report: Item Invoice
Sub_report: Payments Received
A customer can pay several times, so there is a sum of "payment amount" on
the subreport after the payment details. This field is called "sumofpayments"
On the main report, I have this: "=[grandtotal]-[Payments
Received].Report!sumofpayments" which calculates the balance due after all
payments, where "grandtotal" is the total of purchases on the main report.
When a customer has not made any payments, I would like to just to display
the balance due ("grandtotal") since the subreport doesn't display if there
are no records, but I'm not good with expressions.