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!

Subreport within a subreport

Status
Not open for further replies.

ghesse

Programmer
Jun 16, 2003
51
US
Hello,

I need to know if it's possible to have a subreport within a subreport. Right now when I load up my on demand subreport1 it doesn't display the on demand subreport2 that's located within it. If I load the subreport1 on its own (make it the source of the crystal report viewer on the webform) it displays the subreport2 within it just fine. Can someone please give me some insight on this?

Thanks,
ghesse
 
you can't nest subreports. you can't have a subreport inside another subreport
 
Since you want on-demand subreports, why don't you try launching a new report from a hyperlink - you should be able to nest them this way...
 
For Crystal 8.5, you could export Subreport2 and re-import it as an independent subreport in the main report. This function is found under [File] when you are in the Subreport.

Passing data might be a problem, but can be solved, perhaps using Shared Variables.

Another design possibility is to promote Subreport 1 to be the main report and drop down the main report to be a separate subreport.

Madawc Williams
East Anglia, Great Britain
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top