Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ServerFilter

Status
Not open for further replies.

GammelNok

Programmer
Jun 21, 2002
32
0
0
US
Hi
I am trying to get over the Docmd.ApplyFilter problem in my adp database, backended to SQL2000.

The following code does not filter my form

any ideas welcome

Private sub cmdLeft_Click()
Me.ServerFilter = ""
Me.ServerFilter = "teamEmpStatus = 'Left'"
Me.ServerFilterByForm = True
end sub
 
I did that on an App, but don't have it with me.

I believe I did.

ON OPEN Event of Form
Me.AllowFilters = True
Me.FilterOn = True
Me.ServerFilter = "teamEmpStatus = 'Left'"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top