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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Upper to Lower Case

Status
Not open for further replies.

mdr2271

Programmer
Sep 14, 2005
42
US
Is there a function or routine in Access 2000 that I can use to convert strings of all upper case to the first character being upper case and all the rest being lower case? For example, JOHN DOE would become John Doe.

Thank you.
 
There's a function called StrConv that's supposed to do that. In VBA, you'll use the constants

[tt]msgbox strconv("this is my string", vbpropercase)[/tt]

In queries, you'd need to use the literal

[tt]strconv(myfield, 3)[/tt]

Roy-Vidar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top