Hello,
I cannot get my filter button to remove the filter from my subform. Can you help please.
I am using MSAccess 2013. I have a parent form (frm_WO_Status_Form) with a combo box (Proj Manager) and I am filtering a datasheet subform (subfrm_WO_Status_Form) by user name. This works great!
I have a “Remove Filter” button that when I click on the button I would like the subform datasheet to clear and display all of the records. This is the issue I am having. It does not remove the filter.
I was trying this code, but of curse it is not working.
Private Sub Remove_Filter_Button_Click()
Me.RecordSource = "SELECT * FROM tbl_WO_Master"
End Sub
Appreciate the help.
I cannot get my filter button to remove the filter from my subform. Can you help please.
I am using MSAccess 2013. I have a parent form (frm_WO_Status_Form) with a combo box (Proj Manager) and I am filtering a datasheet subform (subfrm_WO_Status_Form) by user name. This works great!
I have a “Remove Filter” button that when I click on the button I would like the subform datasheet to clear and display all of the records. This is the issue I am having. It does not remove the filter.
I was trying this code, but of curse it is not working.
Private Sub Remove_Filter_Button_Click()
Me.RecordSource = "SELECT * FROM tbl_WO_Master"
End Sub
Appreciate the help.