Filter from popup menu

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a form (frmMain) that is based upon a query. In this form is a
command button that, when clicked, opens up a pop up screen with a variety of
other command buttons - two of which are filter buttons (one turns filter on,
the other off). However, I cannot seen to get this working. Presently I
using the following code:

Private Sub Command2_Click()
Filter = "[frmMain].[Parcel] <> 999"
FilterOn = True
End Sub

Any suggestions on how to get this working and how to turn filter off?
 
Presumably the procedure is in the pop up form, you should try referencing
the original form when setting the filter properties, you are most likely
applying the filters to the pop-up form

Carl.
 
Back
Top