Hi everyone
I have a textbox in my form that i want to control in a variable.
If i use this sentence with the real textbox name, it work:
Dim MyItem as object
MyItem = txbTicket
xx = MyItem.tag
How to do the same thing with the textbox name in a variable like:
Dim MyItem as object
MyVar = "txbTicket"
MyItem = MyVar
xx = MyItem.tag
I have a textbox in my form that i want to control in a variable.
If i use this sentence with the real textbox name, it work:
Dim MyItem as object
MyItem = txbTicket
xx = MyItem.tag
How to do the same thing with the textbox name in a variable like:
Dim MyItem as object
MyVar = "txbTicket"
MyItem = MyVar
xx = MyItem.tag