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!

Filter with multiple criteria 1

Status
Not open for further replies.

Moss100

Technical User
Aug 10, 2004
586
GB
Hello,

Please can someone help.

I need to filter a form so records display when the field [Prop_Link] equals any of either 10,15,20 or 24

My code runs fine for one value, but how do I combine the other values

Code:
me.form.filter = "[Prop_link] = 24"

Many thanks Mark
 
Did you try:

Code:
me.form.filter = "[Prop_link] = 10 or [Prop_link] = 15 or [Prop_link] = 20 or [Prop_link] = 24"


---- Andy

There is a great need for a sarcasm font.
 
You may also try:

Code:
me.form.filter = "[Prop_link] [blue]IN[/blue] (10, 15, 20, 24)"

Worth a shot...


---- Andy

There is a great need for a sarcasm font.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top