I have a form that is bound to a Query. When I type an "Employee Id" (for example the number 42) in the criteria of the query, it pulls up 1 record and the form shows the 1 record and it works fine.
But I when I try to use the Filter property, nothing happens ... I get ALL records (I do not get any error messages.)
In the properties of the form next to "Filter" I have:
EmployeeID = 42. I also tried to put quotes aournd it .. "EmployeeID = 42". (EmployeeID is a numeric field).
I also tried code using:
Me.Filter = "EmployeeID = 42"
Me.FilterOn = True
Still the form is not filtered.
Any ideas why?
But I when I try to use the Filter property, nothing happens ... I get ALL records (I do not get any error messages.)
In the properties of the form next to "Filter" I have:
EmployeeID = 42. I also tried to put quotes aournd it .. "EmployeeID = 42". (EmployeeID is a numeric field).
I also tried code using:
Me.Filter = "EmployeeID = 42"
Me.FilterOn = True
Still the form is not filtered.
Any ideas why?