Multiple Criteria Filters from Same Field (1 Viewer)

shatteras

Registered User.
Local time
Today, 01:03
Joined
Apr 11, 2016
Messages
25
hello, I would like to know how to filter (from form property sheet) on load, I have this on Data/Filter/Property Sheet; DocName = 'NEWops' ... but I want to display not just the 'NEWops'. I wanted to display NEWops, PREops, DCVops as well. they all belong to the DocName field... please help? thank you...
 

sneuberg

AWF VIP
Local time
Today, 01:03
Joined
Oct 17, 2014
Messages
3,506
Have you tried?

DocName = 'NEWops' Or DocName = 'PREops' Or DocName = 'DCVops'
 

shatteras

Registered User.
Local time
Today, 01:03
Joined
Apr 11, 2016
Messages
25
I tried that but with an AND.... lemme try the OR now.. thank you. I think I could use the IN but I don't know how...
 

sneuberg

AWF VIP
Local time
Today, 01:03
Joined
Oct 17, 2014
Messages
3,506
I think I could use the IN but I don't know how...

I believe you could use IN too and be more consise

I believe that would be
Code:
DocName IN ('NEWops', 'PREops', 'DCVops')

Sorry, Didn't think of that.
 

shatteras

Registered User.
Local time
Today, 01:03
Joined
Apr 11, 2016
Messages
25
thanks for showing how to use the IN method. thank you for the help guys. I can finally move from here, ciao ^_^
 

Users who are viewing this thread

Top Bottom