G
Guest
Hi to all,
I want to open a form with an embedded query that has criteria referencing a
value in another form. I want to check before the form is Open/Load to be
sure that the other referrenced form is open.
I have tried this code on both Open event and Load event of the current form
and it doesn't work (the embedded query is being referenced before this
active form test is allowed to run).
'*******************************
Private Sub Form_Open(Cancel As Integer)
'*******************************
IS_Form_Active
If strYesNo = "YES" Then
Else
End
End If
End Sub
How can I run the above test before the embedded query is used?
Thanks for the Help
I want to open a form with an embedded query that has criteria referencing a
value in another form. I want to check before the form is Open/Load to be
sure that the other referrenced form is open.
I have tried this code on both Open event and Load event of the current form
and it doesn't work (the embedded query is being referenced before this
active form test is allowed to run).
'*******************************
Private Sub Form_Open(Cancel As Integer)
'*******************************
IS_Form_Active
If strYesNo = "YES" Then
Else
End
End If
End Sub
How can I run the above test before the embedded query is used?
Thanks for the Help