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

convert first character to uppercase 1

Status
Not open for further replies.

rmh3619

Technical User
May 29, 2006
29
NL
i have a text box on a form called txtDescription

on the after update event i want to convert the first character in the txtDescription field to uppercase.

I dont want to use vbProperCase because that will convert all first characters of each word in the field to uppercase

thanks in advance
 
You could use Format:

Format("a bcd efgh I",">L<")
La bcd efgh i

But it may be better to go the long way around:
UCase(Left("a bcd efgt I",1)) & Mid("a bcd efgt I",2)
A bcd efgt I
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top