IIF function in query

ravness

Registered User.
Local time
Today, 15:20
Joined
Aug 12, 2008
Messages
22
Hi guys,

I have a table which has several fields but im focusing on job names [sJobName].

Example:


sJobName
Jobone
Jobtwo
Jobthree
ZZ_Jobfour
ZZ_Jobfive

I want to somehow filter out any records which have a job name starting with ZZ_

How would I acheive this? I have tried using criteria in a query but dont know which function can do this properly.

Any help would be much appreciated
 
a criteria like this may help

Not Like "ZZ_*"

If used as the critera for the sJobName field this will allow all jobnames except those that start with "ZZ_"
 
thanks very much it works
 

Users who are viewing this thread

Back
Top Bottom