=Val(Nz([Report]![rptMaintenanceDoneSubrpt]![txtMaintenanceSubtotal].[Value],0))+Val(Nz([Report]![rptMaterialsDoneSubrpt]![txtMaterialsSubtotal].[Value],0))+Val(Nz([Report]![rptReservationsDoneSubrpt]![txtReservationsSubtotal].[Value],0))
=dSum("[AmountToSum]","[qrySource_for_rptMaintenanceDoneSubrpt]")+dSum("[AmountToSum]","[qrySource_for_rptMaterialsDoneSubrpt]") + dSum("[AmountToSum]","[qrySource_for_rptReservationsDoneSubrpt]")
I have replaced the source to this: =dSum("[Subtotal]","[qryMaintenanceInvoice]") and it worked fine. (This query does return results)Try to replace the extended total expression with this (adjust for the field and query names):
=dSum("[AmountToSum]","[qrySource_for_rptMaintenanceDoneSubrpt]")+dSum("[AmountToSum]","[qrySource_for_rptMaterialsDoneSubrpt]") + dSum("[AmountToSum]","[qrySource_for_rptReservationsDoneSubrpt]")
Cheers,
Now, I see what we are doing here, bypassing the report data for the calculation and going directly to the query.