Kathy said:
I need to combine totals in the report footer with information from a sub
report. The totals from the sub report show in the deatil. I need to
reference them in the footer.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Put a TextBox in the sub-report's footer. As this TextBox's
ControlSource, put a reference to the control in the sub-report's detail
that you want to use in the main report. Put the name of this TextBox
in the main report's formula. E.g.:
=[ExtendedPrice]+IIf(SubReportName.Report.HasData,
Nz(SubReportName!SubReportTextBoxName),0)
The IIf() function is needed to insure no error occurs if there isn't
any data (HasData = False) in the subreport.
Replace SubReportName and SubReportTextBoxName w/ your sub-report &
TextBox names.
--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)
** Respond only to this newsgroup. I DO NOT respond to emails **
-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv
iQA/AwUBSRB7sIechKqOuFEgEQIJ2ACgwYH8VDvG0LuAchGpl6sZeka8U2YAoMBQ
COMcZY0Yp28tG9pH3ZViHmql
=U1zO
-----END PGP SIGNATURE-----