R
Russ via AccessMonster.com
Setup = main form with subform as datasheet, applying filter to the datasheet
and need report which is based on the same query to open up with filtered
information of the subform. What am I doing wrong?
trying to use the code;
If Me.FilterOn Then 'Use the same filter, if it's switched on.
strWhere = Me.Filter
End If
DoCmd.OpenReport "MyReport", acViewPreview, , strWhere
but me.filter keeps getting the result of ""
and need report which is based on the same query to open up with filtered
information of the subform. What am I doing wrong?
trying to use the code;
If Me.FilterOn Then 'Use the same filter, if it's switched on.
strWhere = Me.Filter
End If
DoCmd.OpenReport "MyReport", acViewPreview, , strWhere
but me.filter keeps getting the result of ""