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

Changing case

Status
Not open for further replies.

Gaylord

Technical User
Sep 26, 2002
49
DE
Hi,

I have a question that is probably very easy to do, but I can't think how.

I populate my database using OCR technologies, which converts all the characters to upper case. Which I am happy with from a data storage point of view, however, when I am generating letters using Reports, having "Dear JAMIE" looks pretty informal and untidy. I don't know if there is a simple format I can use on the form, or a loop I can perform through the DB that will convert everything into title case????

Thanks in advance,

Jamie
 
You could use the StrConv() function. If [FirstName] = "JAMIE" then
"Dear " & StrConv([FirstName], vbProperCase)
will return

Dear Jamie

See if that helps.

Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top