R
rberry
I have a dialogue form which generates a search variable called strWhere.
The on click event associated with a command button on the form then opens a
main report call it Report A with an embedded sub-report call it Report B.
I use the varable strWhere in the open event of Report A to set the filter
property associated with main report.
Problem is when I try to repeat the exercise in the sub report (Report B) it
comes up with 'invalid reference' or Application Defined or Object Defined
Error 2101'
I think it is in the explict referencing I am using to define the sub report
in the open event of Report B i.e.
Reports!ReportA!ReportB.Filter = StrWhere
The on click event associated with a command button on the form then opens a
main report call it Report A with an embedded sub-report call it Report B.
I use the varable strWhere in the open event of Report A to set the filter
property associated with main report.
Problem is when I try to repeat the exercise in the sub report (Report B) it
comes up with 'invalid reference' or Application Defined or Object Defined
Error 2101'
I think it is in the explict referencing I am using to define the sub report
in the open event of Report B i.e.
Reports!ReportA!ReportB.Filter = StrWhere