DanGriffin
Programmer
I have a form with a Tab Control consisting of 4 pages. All of the controls are on the pages. There are no controls on the form itself. And I suppose that's why this makes sense: Testing for ME.DIRTY is always false. And trying to test for ME!PAGE2.DIRTY triggers an error.
How do I test for unsaved data on a Tab Page?
I want the user to specifically SAVE or CANCEL any entered data before doing anything else. I have most everything covered except if the CLOSE the form with the 'X' button. (the form is maximized).
I was trying to test for DIRTY in the ON CLOSE event for the form.
How do I test for unsaved data on a Tab Page?
I want the user to specifically SAVE or CANCEL any entered data before doing anything else. I have most everything covered except if the CLOSE the form with the 'X' button. (the form is maximized).
I was trying to test for DIRTY in the ON CLOSE event for the form.