referencing controls

A

alekm

Hi,
I've got form with tab control on it and on one of tabs there is a text box.
How do I reference the text box in VB code? What's the string?

thanx in advance

alekmil
 
R

RonaldoOneNil

You can ignore the fact that it is on a tab control, just reference it as if
it were directly on the form.

Me.textBoxName

or

[Forms]![FormName]![textBoxName]
 
Top