Help with like operator

A

Al

I have a field that I am trying to filter any record that Has an upper case
letter at the end of the record [A-Z]. I used like "*[A-Z]" however, I am
getting upper and lower case as well. I am only interested in Upper case. any
idea?
thanks
Al
 
K

KARL DEWEY

Access treats upper and lower case the same.

Add a new field to the grid in design view like this --
A-Z_Check: Asc(Right([YourFieldName],1))
Use criteria Between 65 And 90
 
A

Al

Thank you, it worked:)

KARL DEWEY said:
Access treats upper and lower case the same.

Add a new field to the grid in design view like this --
A-Z_Check: Asc(Right([YourFieldName],1))
Use criteria Between 65 And 90

--
KARL DEWEY
Build a little - Test a little


Al said:
I have a field that I am trying to filter any record that Has an upper case
letter at the end of the record [A-Z]. I used like "*[A-Z]" however, I am
getting upper and lower case as well. I am only interested in Upper case. any
idea?
thanks
Al
 

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

Top