Hi Mike!
Why don't you simply set it modal? (Default is modeless...)
Greetings
Markus
(MS MVP)
>Hi All,
>
> I'm trying to find a way of keeping the user form leaving a form while it is in edit mode. the Show() method generates an error if the form is visible, and I don't want to temporarily hide it. Is there anything else I can try?
>
>Thanks,
>
>Mike