A
Andrew Backer
I have a report with a subreport, and I need to be able to set the
RecordSource of the sub report from the main report.
So far I can't seem to find any point in the main form's lifecycle where
I can access Me.SubFormName.Report.RecordSource.
The basic problem is I have a pretty complex query with 3 parameters
that is the source of the subreport. Since I don't know how to pass
parameters to a subreport (2 date times & 1 Int), I just want to set the
recordsource.
How should I go about doing this. I can reach up from the subreport
itself to grab the parent's opeargs, but I really don't want to parse
them again!
This one has me stumped, at least for an elegant solution. Thanks for
any help.
RecordSource of the sub report from the main report.
So far I can't seem to find any point in the main form's lifecycle where
I can access Me.SubFormName.Report.RecordSource.
The basic problem is I have a pretty complex query with 3 parameters
that is the source of the subreport. Since I don't know how to pass
parameters to a subreport (2 date times & 1 Int), I just want to set the
recordsource.
How should I go about doing this. I can reach up from the subreport
itself to grab the parent's opeargs, but I really don't want to parse
them again!
This one has me stumped, at least for an elegant solution. Thanks for
any help.