Case Sensitive (1 Viewer)

Mahall906

New member
Local time
Today, 02:18
Joined
Apr 11, 2014
Messages
29
Morning all,

I think I may be struggling with such a feeble task.

I have a text box within a form and I would like to make it case sensitive, i.e nottingham city become Nottingham City if entered incorrectly.

Is this a simple thing to fix?

Thanks in advance

Marcus
 

pr2-eugin

Super Moderator
Local time
Today, 02:18
Joined
Nov 30, 2011
Messages
8,494
Hello Mahall906, Welcome to AWF :)

You can use the AfterUpdate event, something like
Code:
Private Sub yourTextBoxName_AfterUpdate()
    Me.yourTextBoxName = StrConv(Me.yourTextBoxName, vbProperCase)
End Sub
 

Mahall906

New member
Local time
Today, 02:18
Joined
Apr 11, 2014
Messages
29
Awesome!! Thanks that is great thank you!!
 

Users who are viewing this thread

Top Bottom