tab control page references

D

Darrell

What is the syntax to refer to a subform on tabcontrol
page?

i.e. I want to requery a subform on a tab page when I
update a check box in a subform on another. I'm thinking
the syntax should read something like:
"Forms!frmClinics!TabCtlClinicSubforms!Pages!
tabClinicInformation!subfrmContacts.Requery" but this
definitely doesn't work.

What am I doing wrong??

Thanks,
Darrell
 
A

AlCamp

Darrell,
The objects on the tab pages are considered part of the "main" form.
subfrmContacts.Requery
should do it.
hth
Al Camp
 
G

Guest

Cool! I did have to say Me.Parent.subfrmContacts... or it
objected when I compiled, saying "Variable not defined."

Thank you!
 

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