General information
Title:
Object reference to the current control
The Me keyword refers to the current form if you are in a form. Is there a convenient way to get an object reference to the control whose method is executing, other than specifying the name as Me!controlname?
The reason is that I have a bunch of controls that need input values converted to upper case. I don't need any other input mask. I can put code like this:
Me!somecontrolname.Value = UCase(Me!somecontrolname.Value)
in every textbox, but there are a lot of them. What is the right way to do this?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only