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!

Using SubReports in Calculations

Status
Not open for further replies.

Smithsc

MIS
Apr 20, 2007
143
GB
I've got a main report which contains 4 sub-reports. Each of these subreports creates a shared variable which I want to use in the main report. The subreports are sitting in the detail section but I want to use the variables in the report header.

Is there any way I can force the subreports to run before the calulation in the report header.

I am using Crystal XI.

Many thanks for any help.
 
you would need to split the report header into multiples (A, B, C, etc) and then put copies of the subreports in them and put the shared information in the bottommost Header.

For example:
--page Header
Page Number
--Report Header 1
SubReports
--Report Header 2
Display of shared variables from subreport

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top