Sorry Arnelgp, you've lost me.
If I open with acdialog, why would I need to check what I already know, and how does that make a difference to the form?
This is the function that opens the form.
"bYN" is a global boolean variable.
Public Function Messenger() As Boolean
DoCmd.OpenForm...