sub report execution
I have a sub report having 1 parameter.Now In my main report I need to show that in report header.So I took the copy of sub report and kept in report header a and passing parameter using variables.
My doubt is now I have same sub report 2 times.So will it run for 2 times.Will the total take any extra time compared with one report due to 2 reports.
Abhilash Kumar replied
If the Subreport is based off of a Command Object, then the query will run against the database only when a database field is.placed on a section.
If you place the parameter field on the report, the query does not run however, the report should display the value you've entered in the prompt.