>clicking on the "X" will close the form thus you can trap a click on in in
>the queryunload event , note however that your close button will also fire
>this so you have to set some flag to see it wasn't your button that was
>clicked
>
>Arnon
>
>>
As I know, it depends on click event code. E.g. 'Release Thisform' command will not trigger QueryUnload event.
Edward Pikman
Independent Consultant