No, No, No,
Len, please set the following properties:
Pop Up = Yes
Modal = Yes
Border Style = Dialog
Then open your form using the parameters:
DoCmd.OpenForm myFormName, acNormal, , myWhereClause, acFormEdit, acDialog
"LenP" <(E-Mail Removed)> wrote in message
news:F5B8348C-4BC8-48B5-9605-(E-Mail Removed)...
> Thanks Tim!
> The form is set for Modal=Yes. What I ended up doing was:
>
> Do Until Isloaded("frmEnterYear") = False
> DoEvents
> Loop
> .
> .
> .
> Private Function Isloaded(frmName As String) As Boolean
> Dim frm As Form
> ' Enumerate Forms collection.
>
> For Each frm In Forms
> If frm.Name = frmName Then
> Isloaded = True
> Exit Function
> End If
> Next frm
> Isloaded = False
>
> End Function
>
|