That was it. Thanks for your help.
>Randy-
>
>>I have code in QueryUnload of my form class that just prompts user if they want to close form, save info, etc. This works fine when I click on the X to close the form. I have a toolbar that I added a Close Form button to. In this close form button I use:
>>
_screen.activeform.queryunload()
>>This does everything in the QueryUnload method of the form but then returns back to the command button on the toolbar. How can I solve this problem and make calling the QueryUnload method of a form work the same as clicking the X? I know it's prob somethign simple but can't get it to work.
>
>You are missing THISFORM.RELEASE, I believe.