I'm not sure why an mde would respond slower than an mdb,
but I have a suggestion on getting the whole thing to work
faster.
Don't fill in the "SourceObject" properties of the subform
controls on the main form. Instead, use VBA to load them
in when the user clicks the page tab. (If there is a
subform on the first page of the page tab control, then
you'll have to set that one only.)
Code the page tab like this:
*****
Private Sub MyTabControl_Change()
'tabs are zero indexed, 0 = page 1, 1 = page 2, etc.
If MyTabControl = 1 Then
If Me.MySubformControl.SourceObject = "" Then
Me.MySubformControl.SourceObject = "MySubForm"
End If
End If
End Sub
*****
I do this when I have a lot of pages with a lot of
subforms. Works great.
You can also put in (DoCmd.Hourglass True) if the subform
itself is complex.
Quote:
>-----Original Message-----
>The problem is: same form is loading much slower in mde
than in mdb. In case
Quote:
>of mdb form is loding slow for the first time, after that
it loads very fast
>while with mde form loading takes same time for
subsequent loads. Does
Quote:
>anyone know what could be done, because the form is
rather complex (7-8
>subforms on tab control and code on open event).
>Thanks
>Alex
>.