PC Review


Reply
Thread Tools Rate Thread

How to check for lower case letter

 
 
=?Utf-8?B?SCBZdWlsbGU=?=
Guest
Posts: n/a
 
      28th Feb 2006
I have a file which contains the First Name, Middle Name or Initial, and Last
Name, I would like to know how to check the first character to see if it is
in the Upper Case. If the first Character of the name is not in the Upper
Case the records will be selected by using a Select Query in Access.
--
H Yuille
 
Reply With Quote
 
 
 
 
=?Utf-8?B?S2VuIFNoZXJpZGFu?=
Guest
Posts: n/a
 
      28th Feb 2006
Compare the ASCII values of the character converted to upper case with the
actual character, e.g.

SELECT *
FROM YourTable
WHERE
ASC(UCASE(LEFT([Last Name],1)))
<> ASC(LEFT([Last Name],1));

Ken Sheridan
Stafford, England

"H Yuille" wrote:

> I have a file which contains the First Name, Middle Name or Initial, and Last
> Name, I would like to know how to check the first character to see if it is
> in the Upper Case. If the first Character of the name is not in the Upper
> Case the records will be selected by using a Select Query in Access.
> --
> H Yuille

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
lower case letter i not always accepted jwall Microsoft Excel Crashes 2 27th Apr 2009 01:50 PM
Upper case letter change to lower case when opened on another comp Kleesg Microsoft Powerpoint 1 24th Oct 2008 10:17 PM
How can I check if a letter in a string is upper case or lower case ? fniles Microsoft VB .NET 14 7th Apr 2007 03:45 PM
Text Lower Case Letter =?Utf-8?B?U2FicmluYQ==?= Microsoft Excel Worksheet Functions 4 4th Mar 2006 12:09 AM
upper/lower case letter formatting Mark Microsoft Access 3 31st Oct 2003 03:57 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:35 AM.