G
Guest
I just can't figure out why this code is not working? When I run the
subreport by itself it works fine. When I run the Main report I get "0" and I
know there is data in txtSumExpAmount on the subReport.
Main Report Textbox Control Name "txtFamTotal" control source is:
=IIf(subExpDetails.Report.HasData,subExpDetails.Report.txtSumExpAmount,0)
subExpDetails (Control name of the subreport) is located on the Main Report
txtSumExpAmount (Control name of the textbox on subExpDetails)
txtSumExpAmount is located in the Footer Section of each Record Group on
subExpDetails.
Baffled!
subreport by itself it works fine. When I run the Main report I get "0" and I
know there is data in txtSumExpAmount on the subReport.
Main Report Textbox Control Name "txtFamTotal" control source is:
=IIf(subExpDetails.Report.HasData,subExpDetails.Report.txtSumExpAmount,0)
subExpDetails (Control name of the subreport) is located on the Main Report
txtSumExpAmount (Control name of the textbox on subExpDetails)
txtSumExpAmount is located in the Footer Section of each Record Group on
subExpDetails.
Baffled!