Not Like

  • Thread starter Thread starter Rob Parker
  • Start date Start date
R

Rob Parker

The Like expression is normally used for setting criteria for text fields,
usually in combination with (a) wildcard character(s).

To exclude any of the (integer) values 6, 9, 10, or 11, you can simply set a
criterion of:
Not In (6, 9, 10, 11)

HTH

Rob
 
I have a number field in my query and I need the criteria to be...

Not Like 6
Not Like 9
Not Like 10
Not Like 11

It can't be like any of the above...but the 6 is throwing me off.
How can I do this?
Thanks
DS
 
Rob said:
The Like expression is normally used for setting criteria for text fields,
usually in combination with (a) wildcard character(s).

To exclude any of the (integer) values 6, 9, 10, or 11, you can simply set a
criterion of:
Not In (6, 9, 10, 11)

HTH

Rob
Thanks, it's perfect!
DS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top