B
Bill Stanton
A bit lost here......
I have a report and sub-report. The RecordSource
for the parent is a union select. The sub-report has
essentially the same RecordSource and I want to
inherit the filter expression from the parent, which
is set in the Open event of the parent. I.e., in the
Open event of the sub-report, I want to do something
like:
Me.Filter = Report!FundsRecentSunday.Filter
Me.FilterOn = True
Where "FundsRecentSunday" is the parent report name.
The sub-report uses conditional formatting to create
a SUM on an Amount field identical to the parent report,
only the sub-report makes a distinction as to the type
of the "Amount".
I have thus far been unable to get anything to display
in the sub-report unless I use a separate union query as
the RecordSource and hard-code a "Where expression"
to effect a filtering.
I have the idea that I'm ignorant to a more straight-forward
method of sharing the RecordSource between the parent
report and sub-report.
What say ye?
Thanks,
Bill
I have a report and sub-report. The RecordSource
for the parent is a union select. The sub-report has
essentially the same RecordSource and I want to
inherit the filter expression from the parent, which
is set in the Open event of the parent. I.e., in the
Open event of the sub-report, I want to do something
like:
Me.Filter = Report!FundsRecentSunday.Filter
Me.FilterOn = True
Where "FundsRecentSunday" is the parent report name.
The sub-report uses conditional formatting to create
a SUM on an Amount field identical to the parent report,
only the sub-report makes a distinction as to the type
of the "Amount".
I have thus far been unable to get anything to display
in the sub-report unless I use a separate union query as
the RecordSource and hard-code a "Where expression"
to effect a filtering.
I have the idea that I'm ignorant to a more straight-forward
method of sharing the RecordSource between the parent
report and sub-report.
What say ye?
Thanks,
Bill