G
Guest
I have a form (frmMain) that is based upon a query (qryDataParcel). In this
form I have a command button that brings up a pop up menu with a variety of
text, drop down menus and other command buttons. Of these other command
buttons, two of which are to be used to filter the field named [Parcel].
ON = [Parcel]<> 999
OFF = no filter.
I can’t seem to get the code behinds these command buttons to work. This is
what I am currently trying to get working.
Private Sub Command2_Click()
Filter = "[frmMain].[Parcel] <> 999"
FilterOn = True
End Sub
Any thoughts on what I am doing wrong and how to write the Filter Off code?
form I have a command button that brings up a pop up menu with a variety of
text, drop down menus and other command buttons. Of these other command
buttons, two of which are to be used to filter the field named [Parcel].
ON = [Parcel]<> 999
OFF = no filter.
I can’t seem to get the code behinds these command buttons to work. This is
what I am currently trying to get working.
Private Sub Command2_Click()
Filter = "[frmMain].[Parcel] <> 999"
FilterOn = True
End Sub
Any thoughts on what I am doing wrong and how to write the Filter Off code?