P
PeterM
I have a parent form and a child form in AC2003. I have searched this forum
and the web and cannot find an example of what I'm trying to do.
I need the child form to open only after the parenty form has completely
opened. The parent form has some charts on it and it takes some time to
open. After the parent form has finished completely, I want to open the
child form. That is, once the last chart on the parent form displays I want
to open the child form.
Based on the few examples I have found, I have the following in the parent
form I have:
Private Sub Form_Open(Cancel As Integer)
Me.Form.AfterFinalRender = "[EventProcedure]"
I've also tried:
Private Sub Form_Open(Cancel As Integer)
form(0).AfterFinalRender = "[EventProcedure]"
which doesn't work either.
In the AfterFinalRender event in the parent form I have:
Private Sub Form_AfterFinalRender(ByVal drawObject As Object)
DoCmd.OpenForm "frmbackingupdatabase", acNormal, , , acFormEdit,
acWindowNormal, "Updating Outlook Calendar..."
End Sub
The code in the Form_AfterFinalRender in the parent form never gets called.
Can anyone tell me what I'm doing wrong?
I would really appreciate it.
and the web and cannot find an example of what I'm trying to do.
I need the child form to open only after the parenty form has completely
opened. The parent form has some charts on it and it takes some time to
open. After the parent form has finished completely, I want to open the
child form. That is, once the last chart on the parent form displays I want
to open the child form.
Based on the few examples I have found, I have the following in the parent
form I have:
Private Sub Form_Open(Cancel As Integer)
Me.Form.AfterFinalRender = "[EventProcedure]"
I've also tried:
Private Sub Form_Open(Cancel As Integer)
form(0).AfterFinalRender = "[EventProcedure]"
which doesn't work either.
In the AfterFinalRender event in the parent form I have:
Private Sub Form_AfterFinalRender(ByVal drawObject As Object)
DoCmd.OpenForm "frmbackingupdatabase", acNormal, , , acFormEdit,
acWindowNormal, "Updating Outlook Calendar..."
End Sub
The code in the Form_AfterFinalRender in the parent form never gets called.
Can anyone tell me what I'm doing wrong?
I would really appreciate it.