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]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top