BradF 0 Posted July 17 I have an application with several forms. On one of them, if there are unsaved changes to a table, I want to display a message dialog box and intercept the close, allowing the user to save the changes first. I am currently using a bitbtn as bkClose to exit the form. I tried to put code in the on click event of the button but it was ignored. Share this post Link to post
Attila Kovacs 629 Posted July 17 (edited) Form's OnCloseQuery event CanClose parameter Edited July 17 by Attila Kovacs Share this post Link to post