desperateUser
Technical User
This is driving me nuts. I've tried everything I can think of. My controls do not have the same name as the data...Please help.
If the subform data is empty, I need to sum the report totals.
=(IIf([Reports]![rptCostTotal]![qryInvoiceTotal subreport]![SumofInvoiceAmt].[HasData],([Reports]![rptCostTotal]![qryInvoiceTotal subreport]![SumofInvoiceamt]+[Sumofparts_cost]+[Sumofcml_pts_cost]+[Sumoflabor_cost]),([Sumofparts_cost]+[Sumofcml_pts_cost]+[Sumoflabor_cost])))
I know I'm missing something!
Thanks!
desparateUser
If the subform data is empty, I need to sum the report totals.
=(IIf([Reports]![rptCostTotal]![qryInvoiceTotal subreport]![SumofInvoiceAmt].[HasData],([Reports]![rptCostTotal]![qryInvoiceTotal subreport]![SumofInvoiceamt]+[Sumofparts_cost]+[Sumofcml_pts_cost]+[Sumoflabor_cost]),([Sumofparts_cost]+[Sumofcml_pts_cost]+[Sumoflabor_cost])))
I know I'm missing something!
Thanks!
desparateUser