I have a main report that has literals in textboxes that are used as the Master Fields for subreports.
One subreport that can be repeated multiple times in the main report (and I don't mean because of data) formats itself based on a value/data. The report is being reused form another process which sets a the value consumed in the Detail sections format event, the problem is that the format event fires before data is loaded. I need to figure out a way to set this value and it would seem the easy way to get it would be from the control value on the main report specified for the subreport control's master field. This brings me to the subject question, what is the syntax for the current subreport's subreport control on the parent?
I am open to alternate solutions but would prefer not having to modify code to generate the multiple permutations of the sub report objects. A little more background, the main report and most other subreports are generated via code. The problem subreport is for a particularly cumbersome one-off. I still have to modify code to use the one off where appropriate.
I guess each subreport could be a copy of the report and embedded in the name is the needed value as Me.Name is available all the time. Can anyone save me from this option?
One subreport that can be repeated multiple times in the main report (and I don't mean because of data) formats itself based on a value/data. The report is being reused form another process which sets a the value consumed in the Detail sections format event, the problem is that the format event fires before data is loaded. I need to figure out a way to set this value and it would seem the easy way to get it would be from the control value on the main report specified for the subreport control's master field. This brings me to the subject question, what is the syntax for the current subreport's subreport control on the parent?
I am open to alternate solutions but would prefer not having to modify code to generate the multiple permutations of the sub report objects. A little more background, the main report and most other subreports are generated via code. The problem subreport is for a particularly cumbersome one-off. I still have to modify code to use the one off where appropriate.
I guess each subreport could be a copy of the report and embedded in the name is the needed value as Me.Name is available all the time. Can anyone save me from this option?