Case Insensitivity

M

meyerryang

I have Oracle tables in the background, which are usually case sensitive. I
want to query out of them and get a list regardless of case sensitivity, but
am having difficulty. So if I wanted to find Bob, I would get.

Bob Smith

But I wouldn't get all of them:
Bob Smith
bob smith
boB SmitH

I have: is like "*Bob*" in the criteria. What can I do to get it to work???
 
K

KARL DEWEY

Try using a calculated field like this --
MyNameField: Upper([NameField])
then criteria --
Like "*BOB*"
 
M

meyerryang

Works great! I do think you meant UCase([NameField]). Access vs Excel.
Thanks again.

KARL DEWEY said:
Try using a calculated field like this --
MyNameField: Upper([NameField])
then criteria --
Like "*BOB*"
--
KARL DEWEY
Build a little - Test a little


meyerryang said:
I have Oracle tables in the background, which are usually case sensitive. I
want to query out of them and get a list regardless of case sensitivity, but
am having difficulty. So if I wanted to find Bob, I would get.

Bob Smith

But I wouldn't get all of them:
Bob Smith
bob smith
boB SmitH

I have: is like "*Bob*" in the criteria. What can I do to get it to work???
 
K

KARL DEWEY

UR rite, did not test - not use long time.
--
KARL DEWEY
Build a little - Test a little


meyerryang said:
Works great! I do think you meant UCase([NameField]). Access vs Excel.
Thanks again.

KARL DEWEY said:
Try using a calculated field like this --
MyNameField: Upper([NameField])
then criteria --
Like "*BOB*"
--
KARL DEWEY
Build a little - Test a little


meyerryang said:
I have Oracle tables in the background, which are usually case sensitive. I
want to query out of them and get a list regardless of case sensitivity, but
am having difficulty. So if I wanted to find Bob, I would get.

Bob Smith

But I wouldn't get all of them:
Bob Smith
bob smith
boB SmitH

I have: is like "*Bob*" in the criteria. What can I do to get it to work???
 

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