I'd like to determine whether a form has been opened in dialog mode (modal = yes, popup = yes) after using DoCmd.OpenForm.
I thought it would be as simple as -
If Me.Modal = True And Me.Popup = True Then ...
BUT, Me.Modal returns FALSE even when the form has been opened as dialog.
Is there a simple way of getting around this?
Thanks in advance!!
I thought it would be as simple as -
If Me.Modal = True And Me.Popup = True Then ...
BUT, Me.Modal returns FALSE even when the form has been opened as dialog.
Is there a simple way of getting around this?
Thanks in advance!!