|
Late Binding Subforms in Tab Pages on Microsoft Access FormsProvided by: Steve Clark, Senior Project ManagerThe Microsoft Access tab controls makes it easy to show a different subform on each tab page. Unfortunately, it you add too many, the form may take a long time to open. This is because it's loading all the data in each of the subforms even though only page 1 is shown.
To speed up your MS Access form, you can design it with the subforms on page
2 and beyond remain unbound until the user clicks on its page. This sample VBA code is for a tab named tabStuff. We refer to the page by name rather than number because you may reorder or add/delete tabs over time:
|