Refer to a tab control

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

what is the syntax to refer to a text box located on a page of a tab control
on a form??

I used: forms!MyForm!MyTabcntl!MyPage!MyTextbox and other variations.

But that does not seem to work. I can't seem to find the information in
access help - I am using Access 2002
 
Forms!MyForm!TextBoxName

Controls on a tab control can be referenced via the main form's Controls
collection.
 
what is the syntax to refer to a text box located on a page of a tab control
on a form??

I used: forms!MyForm!MyTabcntl!MyPage!MyTextbox and other variations.

But that does not seem to work. I can't seem to find the information in
access help - I am using Access 2002

The name of the tab control is irrelevant and is not used in
referencing a control; a tab control is simply a way to conserve
screen real estate. Forms!MyForm!MyTextbox will work, whether the
textbox is on a tab page or not.

John W. Vinson[MVP]
 

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

Back
Top