Check if custom form is "dirty" or form data has changed ?

G

Guest

Is there a way to tell if the data within a custom form has been edited by the user? I want to update a form field, but only if the user has made a change to the form data
Thanks much.
 
S

Sue Mosher [MVP]

Try Item.Saved = False
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
G

Guest

That seemed to work to tell if the form data had changed. Thanks.
Is there a way to find out WHICH field changed?
 
S

Sue Mosher [MVP]

You have to track that yourself. Check out the PropertyChange and CustomPropertyChange events.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top