Filter from popup menu

B

briank

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?
 
C

Carl

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top