chrisjames25
Registered User.
- Local time
- Today, 03:05
- Joined
- Dec 1, 2014
- Messages
- 404
Hi
I have a form with a subform within it. The subform is a continuous form. I wanted to add some of the standard filter options you get on a datasheet so did some digging and the internet suggests adding code to the label header and use on click event for label and insert following code:
Whenever i do this i get the following error:
Runtime error 2046. The filtermen isnt available now.
Im using access 2016. Is this a feature that has been removed or am i doing something wrong.
Any help greatly appreciated.
I have a form with a subform within it. The subform is a continuous form. I wanted to add some of the standard filter options you get on a datasheet so did some digging and the internet suggests adding code to the label header and use on click event for label and insert following code:
Code:
Private Sub Lbl_Tier1Status_Click()
DoCmd.GoToControl "category"
DoCmd.RunCommand acCmdFilterMenu
End Sub
Whenever i do this i get the following error:
Runtime error 2046. The filtermen isnt available now.
Im using access 2016. Is this a feature that has been removed or am i doing something wrong.
Any help greatly appreciated.