Me.DataChanged = True not marking form dirty

I check to see if the displayed value matches the database value. If not, I have it execute `Me.DataChanged = True`. I expected this to prompt user to save if they dismiss the form without first saving but that is not working.

Popular White Paper On This Topic

Try using COBJ_CASE_OBJ.DataChanged, or recCase.IsDirty to see if changed have been made...not sure why Me.DataChanged is not firing, but one key is that it has to be changed with user interaction, not code.

Copyright 1998-2015 Ziff Davis, LLC (Toolbox.com). All rights reserved. All product names are trademarks of their respective companies. Toolbox.com is not
affiliated with or endorsed by any company listed at this site.