docmd.apply filter - to exclude matched records

matt beamish

Registered User.
Local time
Today, 23:09
Joined
Sep 21, 2000
Messages
215
Hello people,
have spent a few hours on this today, and I am not getting anywhere.
I want to apply a filter in VBA to exclude records based on a value.

So what is the negative of this

Code:
 DoCmd.ApplyFilter , "[FirstName] = 'Anonymous'"

Help please, I am getting a bit frayed!

thanks
:banghead:
 
Code:
DoCmd.ApplyFilter , "[FirstName] <> 'Anonymous'"
 
Thanks for speedy reply.
M
 

Users who are viewing this thread

Back
Top Bottom