Put NODEFAULT into QueryUnload event.
>How can I prevent form release or unload ?
>
>Is a button the only way ?
>
>I put the code below release or unload but could not achieve what I wanted
>
>Doesn't "return" abort form unload event ?
>
>IF thisform.tested = 0
> = MESSAGEBOX("Not tested yet")
>RETURN
> endif
If it's not broken, fix it until it is.
My Blog