Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Subform in Tab Control

Status
Not open for further replies.

pcdaveh

Technical User
Sep 26, 2000
213
US
I have a Form and inside it I have a Tab control. On
Page(0) I have a subform named frmTest. frmTest is a datasheet. I want to programatically make this subform visible. How do you reference the subform on a tab page?
 
Hi!

You reference the same way you would if it was directly on the main form.

hth


Jeff Bridgham
bridgham@purdue.edu
 
Can you show me the syntax that you would use because i've tried Forms![Formname].[SubformName].visible = true

also

Forms![Formname].[TabcontrolPage].[SubformName].visible = true
 
Hi!

The syntax is:

Forms![FormName].[SubformControlName].Visible = True

hth


Jeff Bridgham
bridgham@purdue.edu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top