Hi,
I have a window with a close button that calls the pfc_close event. However , when it does that it also calls the pfc_validation events on my user objects which causes the validation errors to display before the "You have unsaved changes ..." message. This isn't what I want.
I would like to ask the user first if they want to save changes and if they don't , skip the validation. However , the only way I have found to do this is to write my own code in the closequery event and override the ancestor. Am I doing this wrong ??
Thanks
I have a window with a close button that calls the pfc_close event. However , when it does that it also calls the pfc_validation events on my user objects which causes the validation errors to display before the "You have unsaved changes ..." message. This isn't what I want.
I would like to ask the user first if they want to save changes and if they don't , skip the validation. However , the only way I have found to do this is to write my own code in the closequery event and override the ancestor. Am I doing this wrong ??
Thanks