Capitalization

Leesha
BronzeLounger
Posts: 1488
Joined: 05 Feb 2010, 22:25

Capitalization

Post by Leesha »

Hi,

I have a query that is returning results based on the way they were entered into the database. In some cases thery were entered in all caps, and in other cases they were entered with the first letter as a capitol and the remained lower case. This is the way I want them. Is there a way to format [city] so that it is uppercase for the first letter and lower case for the remainder?

Thanks,
Leesha

User avatar
Wendell
4StarLounger
Posts: 482
Joined: 24 Jan 2010, 15:02
Location: Colorado, USA

Re: Capitalization

Post by Wendell »

Check out the StrConv function - it will do the trick for you. See StrConv Function - the choice you want for the second parameter is 3 or vbProperCase.
Wendell
You can't see the view if you don't climb the mountain!

Leesha
BronzeLounger
Posts: 1488
Joined: 05 Feb 2010, 22:25

Re: Capitalization

Post by Leesha »

Thanks!!!