Referring to controls within a tabbed form

        6 votes: *****     3,711 views      No comments
by Keri Hardwick, 01 January 1999    (for ALL VERSIONS of Access)

(Q)     How do I refer to a control found on a tab page when I'm using a tabbed form?

(A)     The tab control has no impact on the syntax for referring to a control. To refer to a control on the main form, you simply use [Control name].

To refer to a property of a subform on a tab page, you use:

[Subform Control Name].Form.Property

To refer to a control on a subform on a tab page:

[Subform Control Name].Form![Control Name]

And, to refer to a property of a control on a subform on a tab page:

[Subform Control Name].Form![Control Name].Property

Rate this article:  Your rating: PoorYour rating: Not so goodYour rating: AverageYour rating: GoodYour rating: Excellent


Have your say - comment on this article.

What did you think of 'Referring to controls within a tabbed form'?

No comments yet.

Why not be the first to comment on this article?!

Have your say...

Name
E-mail (e-mail address will be kept private)
Comments


Comments require approval before being displayed on this page (allow 24 hours).