M
miss031
I have an unbound form, and I use an option group/search box to apply a
filter to its subform. Here is an example:
If Me.frame_choose_criteria = 1 Then
Me.txt_frame_choice = 1
If Not IsNull(Me.txt_search_box) Then
Forms![sale_masters].[subform_sale_masters].Form.Filter = "seller_number =
'" & Me.[txt_search_box] & "'"
Forms![sale_masters].[subform_sale_masters].Form.FilterOn = True
End If
End If
Now, after applying that filter, I would like to print a report with that
exact criteria. How do I pass a filter to a report? OpenArgs??
I think I am missing something obvious. Thanks for any help.
filter to its subform. Here is an example:
If Me.frame_choose_criteria = 1 Then
Me.txt_frame_choice = 1
If Not IsNull(Me.txt_search_box) Then
Forms![sale_masters].[subform_sale_masters].Form.Filter = "seller_number =
'" & Me.[txt_search_box] & "'"
Forms![sale_masters].[subform_sale_masters].Form.FilterOn = True
End If
End If
Now, after applying that filter, I would like to print a report with that
exact criteria. How do I pass a filter to a report? OpenArgs??
I think I am missing something obvious. Thanks for any help.