﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » Business Object 'IsDirty' property</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Wed, 29 Apr 2026 18:42:50 GMT</lastBuildDate><ttl>20</ttl><item><title>Business Object 'IsDirty' property</title><link>http://forum.strataframe.net/FindPost9401.aspx</link><description>Is there a way to prevent the 'IsDirty' property from being set when you modify a business object?&amp;nbsp; The SetDirtyOnEdit = False works okay until you actually change the business object.&amp;nbsp; I have a couple business objects on a form which require some pre-processing and I don't want these to trigger my Save message.&lt;/P&gt;&lt;P&gt;Tim</description><pubDate>Thu, 07 Jun 2007 10:21:41 GMT</pubDate><dc:creator>Tim Dol</dc:creator></item><item><title>RE: Business Object 'IsDirty' property</title><link>http://forum.strataframe.net/FindPost9407.aspx</link><description>Exactly what I needed.:)&amp;nbsp; Thanks.</description><pubDate>Thu, 07 Jun 2007 10:21:41 GMT</pubDate><dc:creator>Tim Dol</dc:creator></item><item><title>RE: Business Object 'IsDirty' property</title><link>http://forum.strataframe.net/FindPost9406.aspx</link><description>The IsDirty property actually looks through the DataTable to see if there are any changes.&amp;nbsp; To "reset" the IsDirty property all you need to do is reject the changes on the DataTable (or AcceptChanges if you want to keep the data the same within the DataTable but just not write it back to the server).&amp;nbsp; This will reset the IsDirty flag and you can then have the behavior you are looking for.&lt;/P&gt;&lt;P&gt;FYI....in version 1.6.1 there is now an IsDirtyChanged event that you can handle which will tell you immediately when a value within the internal DataTable has been changed.&amp;nbsp; This really doesn't matter much to what you were doing, but I know that people have asked for this in the past and I could not remember if you were one of them. :)</description><pubDate>Thu, 07 Jun 2007 10:04:51 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>