Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can we distinguish by case for text values?

Status
Not open for further replies.

csk003

Programmer
Feb 9, 2004
26
0
0
US
I have a table with City as column name and when I group by city I cannot distinguish between Dallas and DALLAS. They both are counted under Dallas. Even when I try to update Dallas to DALLAS all rows try to get updated instead of the ones with the exact case.

Is there any way to identify them separately?
 
Hello

In your code module you would use the statement:
Option Compare Binary

This allows you to distinguish between capital and non capital letters.

Regards
Mark
 
Mark, the Option Compare instruction has no impact on JetSQL I guess.
 
Hmmm. I did not know that. Thanks, I will do some perusing.

Regards
Mark
 
csk003,

You may find the StrComp() function useful.

Ken S.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top