Instr function question

arage

Registered User.
Local time
Today, 09:59
Joined
Dec 30, 2000
Messages
537
Instr function question
I picked up the below to help me run a query that would allow me to enter more than one value for a parameter.

InStr([Event number separated by commas],[EventNumber]) the query also has a criteria that it should be greater than zero.

When I run this query though, the result is not an exact result. If I enter event 34, I get event 34 as well as 3 and 4.

What is wrong?
 
I think you want the In operator not the InStr Function: In([Event number separated by commas],[EventNumber])
 

Users who are viewing this thread

Back
Top Bottom