Hi,
I've created a report with 5 sub reports. The reports aren't linked with the main report and the only reason I am using sub reports is because I have several parameters which are common throughout all the sub reports, hence these parameters are entered once and used by all sub reports.
My problem comes when trying to use a parameter in the selection criteria of the sub reports. I've added a date range paramter in the main report, and then declared a shared variable and assigned it to this parameter. The problem is when I try to use this shared variable in the selection criteria of a subreport it returns an error "shared variable can only be used while printing records".. adding a "whilePrintingRecords" then returns the error "The formulae cannot be evaluated at this time"
Does anyone know a workaround for this problem?
I hope I explained myself well.. thanks,
Andrew
I've created a report with 5 sub reports. The reports aren't linked with the main report and the only reason I am using sub reports is because I have several parameters which are common throughout all the sub reports, hence these parameters are entered once and used by all sub reports.
My problem comes when trying to use a parameter in the selection criteria of the sub reports. I've added a date range paramter in the main report, and then declared a shared variable and assigned it to this parameter. The problem is when I try to use this shared variable in the selection criteria of a subreport it returns an error "shared variable can only be used while printing records".. adding a "whilePrintingRecords" then returns the error "The formulae cannot be evaluated at this time"
Does anyone know a workaround for this problem?
I hope I explained myself well.. thanks,
Andrew