J
Jeff
I want to have a message box that appears when I close my form when data on
it has changed. I have created a command button that uses the on dirty
event although I can still click the click X at the top right corner of the
form and of course the dirty check is not performed. Is there a way to use
the forms on close event? I have tried it but errors appear because the
code is executed after the form is already closed.
The message box is similar to one that asks "This record has changed. Do you
want to save, Yes No"
YES closes the form and NO does an undo and does not close the form.
Maybe there is a better way??
it has changed. I have created a command button that uses the on dirty
event although I can still click the click X at the top right corner of the
form and of course the dirty check is not performed. Is there a way to use
the forms on close event? I have tried it but errors appear because the
code is executed after the form is already closed.
The message box is similar to one that asks "This record has changed. Do you
want to save, Yes No"
YES closes the form and NO does an undo and does not close the form.
Maybe there is a better way??