ALL CAPS

D

Doug

I am using Access 97. When I use [Which Type?] in the criteria for the
query I get a msg box that asks for that input. Is there a quick way to make
the input all caps?
Thanks
Doug
 
R

Rick Brandt

Doug said:
I am using Access 97. When I use [Which Type?] in the criteria for the
query I get a msg box that asks for that input. Is there a quick way to make
the input all caps?

You can't make the user type all caps, but you can make it so that is what the
query sees as criteria.

Instead of just [Which Type?] use..

UCase([Which Type?])
 
D

Doug

Thanks
Rick Brandt said:
Doug said:
I am using Access 97. When I use [Which Type?] in the criteria for the
query I get a msg box that asks for that input. Is there a quick way to make
the input all caps?

You can't make the user type all caps, but you can make it so that is what the
query sees as criteria.

Instead of just [Which Type?] use..

UCase([Which Type?])
 
J

John Vinson

I am using Access 97. When I use [Which Type?] in the criteria for the
query I get a msg box that asks for that input. Is there a quick way to make
the input all caps?

ummm... why? Access searches are case-insensitive.
 
J

John Spencer (MVP)

The only reason I can think of is that the OP is searching an attached file of
some type. I seem to recall that some of the ISAMs (perhaps EXCEL) are case
sensitive.

Just tested this with Linked Excel table and Access 97 and found that criteria
of Like "John*" returned three records and Like "john*" returned no records.
Also got similar results with John Spencer versus John spencer.

I wonder what happens with a linked text file? Had to test it. Same results.

John said:
I am using Access 97. When I use [Which Type?] in the criteria for the
query I get a msg box that asks for that input. Is there a quick way to make
the input all caps?

ummm... why? Access searches are case-insensitive.
 
R

Rick Brandt

John Spencer (MVP) said:
The only reason I can think of is that the OP is searching an attached file of
some type. I seem to recall that some of the ISAMs (perhaps EXCEL) are case
sensitive.

That is what I assumed as well. I work against UDB for the AS400 quite a
bit in Access and it is case-sensitive.
 
J

John Vinson

The only reason I can think of is that the OP is searching an attached file of
some type. I seem to recall that some of the ISAMs (perhaps EXCEL) are case
sensitive.

Just tested this with Linked Excel table and Access 97 and found that criteria
of Like "John*" returned three records and Like "john*" returned no records.
Also got similar results with John Spencer versus John spencer.

I wonder what happens with a linked text file? Had to test it. Sa

Yipes! Thanks, John; I wasn't aware of that issue. I knew that Oracle
and (under some circumstances) SQL backends had this problem but
didn't realize it was a wider issue.
 

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