Link to home
Start Free TrialLog in
Avatar of Laurence Martin
Laurence MartinFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Access Form takes too long to load

I have an access form with several sub-forms that takes too long to load.

I have used the Page control so that each sub-form is on a separate page because the users don't need to see all the info in one go, but they do need quick access when required.

Something I have tried is to make the sub-form control unbound and then use the Page's on_click event to set the Source Object value.  However, clicking the page's tab doesn't seem to trigger the on_click event.  The user has to click the middle of the page, which means an extra click is required.

What other techniques can I use to speed-up the load?
Avatar of mbizup
mbizup
Flag of Kazakhstan image

You can use the tab control's change or after update event and use a select case statement to bind/unbind subforms according to the selected tab.

But I would also recommend looking into using separate forms to handle some of the subforms, especially if your tabs/subforms contain a lot of bound controls.  That really adds up in slowing your forms down.
ASKER CERTIFIED SOLUTION
Avatar of mbizup
mbizup
Flag of Kazakhstan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial