﻿<?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?)  » How to configure BOs not to chage "isDirty" to true even if user makes changes</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 05:49:27 GMT</lastBuildDate><ttl>20</ttl><item><title>How to configure BOs not to chage "isDirty" to true even if user makes changes</title><link>http://forum.strataframe.net/FindPost27692.aspx</link><description>Hi,&lt;br&gt;
I need to give users ability to change values in some controls  databinded to certain BOs , but I don't want to save those changes to the database.  I set all the properties IncludeInFormEdit, IncludeInFormSave, etc to false, as well as SetDirtyOnEdit. Save button is disabled when users make changes to these BOs, but when form is being colsed "Save Changes" messagebox still comes up. &lt;br&gt;
&lt;br&gt;
Is there a way to turn off IsDirty change? I could just call RejectChanges() before form closes, I am just wondering if there's a property or something built into the framework that would let me do that.&lt;br&gt;
&lt;br&gt;
Thanks</description><pubDate>Mon, 19 Jul 2010 10:47:35 GMT</pubDate><dc:creator>Leonard P.</dc:creator></item><item><title>RE: How to configure BOs not to chage "isDirty" to true even if user makes changes</title><link>http://forum.strataframe.net/FindPost27695.aspx</link><description>The &lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;FONT color=#000000&gt;simplest solution I have found is to either set the form’s AutoShowSaveChangeMessage = False or call the BOs Undo or RejectChanges method in the form’s FormClosing event.&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;FONT color=#000000&gt;-Larry&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;</description><pubDate>Mon, 19 Jul 2010 10:47:35 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: How to configure BOs not to chage "isDirty" to true even if user makes changes</title><link>http://forum.strataframe.net/FindPost27694.aspx</link><description>Hi Leonard.&lt;/P&gt;&lt;P&gt;I guess you would have to set the form's AutoShowSaveChangesMessage to False and deal with saving the BOs contents yourself when closing. Otherwise, if you enter into Edit mode, the save message will be shown regardless the BO state.</description><pubDate>Mon, 19 Jul 2010 10:41:00 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item></channel></rss>