Try with Release Thisform
>Hi,
>
>I have a modal form that is opened by the main program. The form works fine except that I cannot close it.
>
>The form has an exit button with the following code:
>
>ThisForm.Release()
>
>
>I've released all the object references that refers to the form so I don't know what's keeping it open. I've even placed a 'set step on' command in the form release to see what it happening but it never gets there.
>
>Any help on this is greatly appreciated.
>
>TIA,
>Arriyel
Dominican Republic, a Paradise in America