I have 2 unlinked subreports on my main report. Both subreports need to use the same parameters as the main report.
I'm trying to avoid my users having to enter the same parameters three times each using shared variables.
I have been able to get the parameter values to pass to the subreport doing it sort of backwards from the way that shared variables are intended (passing variables from the subreport to the main report). But, I can't get the subreport to filter based on those shared variables. The regular way of filtering based on parameters doesn't work because, other than the fact that my shared variable does not show up in the list of parameters to use, that gets evaluated before the subreport comes across the shared variable call, which is, by definition, whileprintingrecords.
I have tried putting my shared variables right into the coding of my fields, using a while...do, but have not been hugely successful.
Any thoughts? Or any other way for my unlinked subreports to use the same parameter information without having to ask for it again?