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

Automatic capitalization of first letter

Status
Not open for further replies.

sparisbh

Technical User
Joined
Apr 19, 2002
Messages
3
Location
BE
Hi:
How can I implement the automatic capitalization of first letter as a format in a text data type . Thank you
 
There is no format string for this.
You have to use code (or a macro) in the textbox's afterupdate event.

Using the afterupdate event procedure you would have:

me.mytextboxnamehere =
strconv(me.mytextboxnamehere,vbpropercase)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top