B
Brian
Hi,
I created a tabbed form, with subforms on a number of the tabs. I was
surprised to find that the subforms and their data loads when the form is
first loaded. I suspect that this could slow things down once my database
gets more data.
The database will be split into data.mdb on the server and forms.mdb on each
local desktop.
Should I allow the subform to load but simply not assign the recordsource
until the tab is clicked? (I know how to change recordsource at runtime)
Or should the tab be empty untill the tab is clicked, and then the subform
loaded? (unsure how to do this one)
What even should I use to trigger the above? I found that
TabControl_OnChange works, but how do I tell which tab was selected?
( Page1_click event only occurs when the body of the page is clicked, not
just the "pageone" tab' yet TabControl_click does nothing ever that I could
see.)
Thanks
Brian
I created a tabbed form, with subforms on a number of the tabs. I was
surprised to find that the subforms and their data loads when the form is
first loaded. I suspect that this could slow things down once my database
gets more data.
The database will be split into data.mdb on the server and forms.mdb on each
local desktop.
Should I allow the subform to load but simply not assign the recordsource
until the tab is clicked? (I know how to change recordsource at runtime)
Or should the tab be empty untill the tab is clicked, and then the subform
loaded? (unsure how to do this one)
What even should I use to trigger the above? I found that
TabControl_OnChange works, but how do I tell which tab was selected?
( Page1_click event only occurs when the body of the page is clicked, not
just the "pageone" tab' yet TabControl_click does nothing ever that I could
see.)
Thanks
Brian