loading of subforms & performance

G

Guest

My main form has 5 subforms (by default invisible) which I keep invisible
when the form is opened and based on command buttons I make different forms
visible (one at a time).
When the Main form is opened I feel it loads all the subform and slows down
the loading of main form, how can I disable the loading of subforms when the
main form opens?

Thanks,

Ashu
 
R

Rick Brandt

Ashu said:
My main form has 5 subforms (by default invisible) which I keep invisible
when the form is opened and based on command buttons I make different forms
visible (one at a time).
When the Main form is opened I feel it loads all the subform and slows down
the loading of main form, how can I disable the loading of subforms when the
main form opens?

If they are the same size just use one subform control and change its
SourceObject property. If different sizes you can still have multiple
subform controls, but just leave the SouceObject property blank until you
make them visible.
 

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