Hi
I have a form in which there is an "EXIT" command. I want that if the user hits the Close button of the form to execute the sub cmdexit_click

How can I do it?
thanks