T
Tim Zych
Is there a form level way to determine if any data has
changed in a form?
I have about 20 controls on a form. If any data for those
controls have changed, I want to alert the user that the
contents in the form have not been saved yet. This form is
bound to a temp table on the client and the user must
specifically "Save" the contents of the form to the shared
BE.
In the "Save" action (command button), I will change the
status message to "Saved". But if any data is changed
between "Save" actions, I want the status to show "Not
saved yet."
One way around this is to add code to every control's
AfterUpdate and Change event. But I am wondering if there
is a Form level way to do this.
Thanks
changed in a form?
I have about 20 controls on a form. If any data for those
controls have changed, I want to alert the user that the
contents in the form have not been saved yet. This form is
bound to a temp table on the client and the user must
specifically "Save" the contents of the form to the shared
BE.
In the "Save" action (command button), I will change the
status message to "Saved". But if any data is changed
between "Save" actions, I want the status to show "Not
saved yet."
One way around this is to add code to every control's
AfterUpdate and Change event. But I am wondering if there
is a Form level way to do this.
Thanks