Question

Working with SAP Crystal Reports for Enterprise;

Case is with a main report having lots of subreport and passing data to each individual subreport.

Main report is depicted below:

Report Header - ReportHeader_Subreport
Page Header   - PageHeader_Subreport
Body Section1 - BodySubreport-1
Body Section2 - BodySubreport-2
.
Body SectionN - BodySubreport-N
Report Footer - Report_Subreport
Page Footer   - PageFooter_Subreport

By sending outer parameters, I show only the required subreports by the user. Forexample while

Enter visibility parameters: 1-2-3-4-..-n

shows all the subreports,

Enter visibility parameters: 1

only shows the BodySubreport-1 as intended.

However there is a major speed problem in here and I think CR renders all the reports then suppresses according to parameters.

Is it possible to prevent CR to render all suppressed sections but to render only non-suppressed sections determined by outer parameters? Or is it because I suppress the sections but not the subreports (which i believe that is not the case).

Thank you.

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top