Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report and a sub Report

Status
Not open for further replies.

rann

Programmer
Sep 13, 2001
86
US
Hi,
I have a Subreport(rptSubReport) on a main report(rptMain).I use the Report to calculate the Number of
course credits for each term and Year.

In my SubReport i use a Sum Function to calculate the
# of credits. Then i need to pull the final total value
to the main Report.I used
"=[Reports]![rptMain]![rptSubReport]![txtTotal]"
but was getting an error.This worked fine for
a form(with a sub form).

Any help will be appreciated,

Thanks in Advance,
Rann.



 
As far as I remember you missed a field in your expression
Try to change:
"=[Reports]![rptMain]![rptSubReport]![txtTotal]"
to
"=[Reports]![rptMain]![rptSubReport].Report.[txtTotal]"

Check in the Access help if I'm correct.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top