C
Chrisso
Hi All
I have a form (frmStaffDetails) with three subforms and a bunch of
controls for filtering the subforms. frmStaffDetails itself has a
table as a data source.
I am trying to get frmStaffDetails to open as quickly as possible. I
have added some Debug.Print calls to find out why the form takes 3
seconds to load.
The Debug.Print out shown below indicates that 2 of the 3 seconds are
taken before anything on frmStaffDetails happens:
User clicks button to open frmStaffDetails at: 18/02/2010 10:58:02
?? what happens here that takes 2 seconds ??
Subform1 Form_Load: 18/02/2010 10:58:04 <<< subforms start to
load
Subform1 Form_Current: 18/02/2010 10:58:04
Subform2 Form_Load: 18/02/2010 10:58:04
Subform2 Form_Current: 18/02/2010 10:58:04
Subform3 Form_Load: 18/02/2010 10:58:06
Subform3 Form_Current: 18/02/2010 10:58:06
frmStaffDetails Form_Open: 18/02/2010 10:58:06 <<< main form starts
to load
frmStaffDetails Form_Load: 18/02/2010 10:58:06
frmStaffDetails Form_Current: 18/02/2010 10:58:06
How can I find out what is happening in the 2 seconds that the user
clicks the button to open frmStaffDetails and the first subform being
loaded? What could be happening here?
Stepping through with the debugger shows me that no other code of mine
is called between the user clicking and frmStaffDetails opening so
what is Access doing in this time?
Thanks in advance for any ideas, hints or tips.
Chrisso
I have a form (frmStaffDetails) with three subforms and a bunch of
controls for filtering the subforms. frmStaffDetails itself has a
table as a data source.
I am trying to get frmStaffDetails to open as quickly as possible. I
have added some Debug.Print calls to find out why the form takes 3
seconds to load.
The Debug.Print out shown below indicates that 2 of the 3 seconds are
taken before anything on frmStaffDetails happens:
User clicks button to open frmStaffDetails at: 18/02/2010 10:58:02
?? what happens here that takes 2 seconds ??
Subform1 Form_Load: 18/02/2010 10:58:04 <<< subforms start to
load
Subform1 Form_Current: 18/02/2010 10:58:04
Subform2 Form_Load: 18/02/2010 10:58:04
Subform2 Form_Current: 18/02/2010 10:58:04
Subform3 Form_Load: 18/02/2010 10:58:06
Subform3 Form_Current: 18/02/2010 10:58:06
frmStaffDetails Form_Open: 18/02/2010 10:58:06 <<< main form starts
to load
frmStaffDetails Form_Load: 18/02/2010 10:58:06
frmStaffDetails Form_Current: 18/02/2010 10:58:06
How can I find out what is happening in the 2 seconds that the user
clicks the button to open frmStaffDetails and the first subform being
loaded? What could be happening here?
Stepping through with the debugger shows me that no other code of mine
is called between the user clicking and frmStaffDetails opening so
what is Access doing in this time?
Thanks in advance for any ideas, hints or tips.
Chrisso