Ref. to control inside a tab control

M

mrutten

How can I reference from page 1 on a tab control, to an
other control on the same page of the same tab control?

How would I ref. to a control on a different page of a
tab control?

Thank you for your help.
 
D

Dirk Goldgar

How can I reference from page 1 on a tab control, to an
other control on the same page of the same tab control?

How would I ref. to a control on a different page of a
tab control?

Thank you for your help.

Unless the controls are actually on a subform, all of these controls can be
accessed by way of the form's Controls collection. The tab control itself
isn't relevant when it comes to referring to them. Just use

Me!ControlName

or

Forms!FormName!ControlName

just as you would for any other control.
 

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