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

Format String 2

Status
Not open for further replies.

dbero

Technical User
Mar 31, 2005
109
US
Hello:

Is there a relatively simple method to convert a manually entered text box value from "smith" to "Smith"? I have an oracle back-end and need the leading character to be ucase.

Thank you,
 
Hi!

Try this:

Me!YourTextBox.Value = Format(Me!YourTextBox.Value, vbProperCase)

hth


Jeff Bridgham
Purdue University
Graduate School
Data Analyst
 
Jeff

I think it's

Me!YourTextBox.Value = [red]StrConv[/red](Me!YourTextBox.Value, vbProperCase)
 
Hi!

You're right Golom! I got my conversions mixed up!!

Thanks for the correction!



Jeff Bridgham
Purdue University
Graduate School
Data Analyst
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top