J
Joan
Hi,
I am working on a report (InvoiceStatement) where I recently added a 3rd
subreport. However, I am having problems with the report total, which
totals the 3 sub-reports' totals. Before I added the 3rd subreport,
InvoiceAdjustments, the following main report total's control source worked
fine: Reports!rptInvoiceStatement!rptInvoiceDogs!txtSumSalesPrice +
Nz(Reports!rptInvoiceStatement!rptInvoiceCharges!txtSumTotCharge, 0).
The 3rd subreport displays any adjustments to the invoice with some to many
invoices not having any adjustments at all. In these cases, the subreport
doesn't need to print and there is no subreport total to add to the main
report total. How do I write the control source for the Total on the main
report??
I tried the following:
Reports!rptInvoiceStatement!rptInvoiceDogs!txtSumSalesPrice +
Nz(Reports!rptInvoiceStatement!rptInvoiceCharges!txtSumTotCharge, 0) +
Nz(Reports!rptInvoiceStatement!rptInvoiceAdjustments!txtAdjTot, 0).
When I run the InvoiceStatement, the invoices without any adjustments do not
print the final total, instead it prints #Error. However, for the invoice
with adjustments, it prints the correct total.
Joan
I am working on a report (InvoiceStatement) where I recently added a 3rd
subreport. However, I am having problems with the report total, which
totals the 3 sub-reports' totals. Before I added the 3rd subreport,
InvoiceAdjustments, the following main report total's control source worked
fine: Reports!rptInvoiceStatement!rptInvoiceDogs!txtSumSalesPrice +
Nz(Reports!rptInvoiceStatement!rptInvoiceCharges!txtSumTotCharge, 0).
The 3rd subreport displays any adjustments to the invoice with some to many
invoices not having any adjustments at all. In these cases, the subreport
doesn't need to print and there is no subreport total to add to the main
report total. How do I write the control source for the Total on the main
report??
I tried the following:
Reports!rptInvoiceStatement!rptInvoiceDogs!txtSumSalesPrice +
Nz(Reports!rptInvoiceStatement!rptInvoiceCharges!txtSumTotCharge, 0) +
Nz(Reports!rptInvoiceStatement!rptInvoiceAdjustments!txtAdjTot, 0).
When I run the InvoiceStatement, the invoices without any adjustments do not
print the final total, instead it prints #Error. However, for the invoice
with adjustments, it prints the correct total.
Joan