Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object reference to the current control
Message
From
04/06/2002 19:17:41
Jason Dalio
Northern Interior Regional Health Board
Prince George, British Columbia, Canada
 
General information
Forum:
Microsoft Office
Category:
Access
Miscellaneous
Thread ID:
00664527
Message ID:
00664773
Views:
23
You could put the following in your code then:
Private Sub txtName_LostFocus()

   Call CleanupText(txtName)

End Sub

Private Sub CleanupText(txtBox as TextBox)

   txtBox.Text = Ucase(txtBox.Text)

End Sub
A little cumbersome but it reduces the code in each LostFocus event. If there is a better way to do this then I don't know how.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform