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

Caps only causes runtime error 2115 1

Status
Not open for further replies.

vba317

Programmer
Mar 5, 2009
708
US
I am trying to set my form so when the user enters info in the field it turns to caps only.
When I enter the text I get an runtime error 2115 The function in before update is preventing access from saving data in the field. Any help is appreciated
Tom


Code:
Private Sub txtClient_BeforeUpdate(Cancel As Integer)
'Me!txtClient = UCase(Me!txtClient)
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top