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

Title format

Status
Not open for further replies.

OOzy

Programmer
Jul 24, 2000
135
SA
Dears,

I have a text field (255) named title. All titles are in CAPS. How can I change thier case to a Title case i.e. first letter only in CAPS
 
The way I've ahieved this is on the After Update Event of the Title field on my form I've got the following code:

Private Sub Title_AfterUpdate()
Title = StrConv(Title, vbProperCase)
End Sub

That should do it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top