P
Paul Mars
I have a form that has several different record sources. This form has a btn
to open a report. This report has the same record source as the current form
instance. I do this with:
Private Sub Report_Open(Cancel As Integer
Me.RecordSource = Forms!MainData.RecordSource
Now I just filtered the form instance. I thought I could then apply this
filter to the report by adding:
Me.Filter = Forms!MainData.Filter to the above code, but this does not
apply the open form filter to the report. How can I do this?
Thanks,
Paul
to open a report. This report has the same record source as the current form
instance. I do this with:
Private Sub Report_Open(Cancel As Integer
Me.RecordSource = Forms!MainData.RecordSource
Now I just filtered the form instance. I thought I could then apply this
filter to the report by adding:
Me.Filter = Forms!MainData.Filter to the above code, but this does not
apply the open form filter to the report. How can I do this?
Thanks,
Paul