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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

field from sub report to be used in main report

Status
Not open for further replies.

ZABARVAN

IS-IT--Management
May 24, 2003
186
SA

is there any way to use a calculated field from a sub report in the main report. we have a calculated field in the sub report and it will be further used in the main report to get a final value.

Help will be appreciated.

 
If you familiar with Whileprintingrecords function, you can use it and make shared variable to bring value from subreport to mainreport.
 
As long as you assigned the calculated field to a shared variable (and use that same shared variable in a formula in the main report) and put the sub-report in a section prior to where you need the value in the main report, then it should work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top