Title Case Validation

G

Guest

Hello,

I know how to make a validation for lower case and upper case but I can't
seem to find one that requires a title case. Is there one?
 
A

Arvin Meyer

Joey041 said:
Hello,

I know how to make a validation for lower case and upper case but I can't
seem to find one that requires a title case. Is there one?

There is no Validation but you can use the AfterUpdate event to change the
text to TitleCase (aircode):

Sub txtMyControl_AfterUpdate()
Me.txtMyControl = StrConv(Me.txtMyControl, vbProperCase)
End Sub
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top