I have one field in a subreport and one field in a main report. I just want the total of them together on the main report. Do I need to do a query first?
Thanks
A query is one method. The other is to use an expression in the main report
that references the control name from the subreport and adds it to a control
on the main report. The syntax might be:
=IIf(srptA.Report.HasData, srptA.Report.txtA, 0) + txtB
--
Duane Hookom
MS Access MVP
Jenny said:
I have one field in a subreport and one field in a main report. I just
Duane where do I put that code in the control source of the Repor
----- Duane Hookom wrote: ----
A query is one method. The other is to use an expression in the main repor
that references the control name from the subreport and adds it to a contro
on the main report. The syntax might be
=IIf(srptA.Report.HasData, srptA.Report.txtA, 0) + txt
--
Duane Hooko
MS Access MV
Jenny said:
I have one field in a subreport and one field in a main report. I jus
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.