Open subforms?

U

ubu

How can you check to see if a subform is open in code?
Can you open them individually as users click a tab on a
tabbed control?
 
J

John Vinson

How can you check to see if a subform is open in code?
Can you open them individually as users click a tab on a
tabbed control?

If the form is open, the subforms are open. In fact they open before
the form does.

You can (and for a large complex form with many subforms, it's often a
good idea) use the Change event of a Tab control to remove the
SourceObject property of the subform on the page you're closing, and
assign a form name to that property on the form you're opening.
 

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