|Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread|
|Messages 1 to 3 of 3 total|
|Sat, Aug 29 2015 11:37 AM||Permanent Link|
In an application I use a form to edit data from a dataset.
In the OnShow event of the form the dataset (which is placed on the main
form) is assigned to all databound edit fields.
When I close the form, I check the dataset.modified property in order to
prompt the user if he wants to save changes or not.
With 2.01 something seems to have changed. The "modified" property it
always true, even if nothing has been changed (at least I am not aware
of any changes).
|Sat, Aug 29 2015 12:26 PM||Permanent Link|
Addition: it's not the Edit-Form. The dataset's modified-property is
true even directly after loading the dataset.
That was not the case in 2.00.
|Mon, Aug 31 2015 9:57 AM||Permanent Link|
Tim Young [Elevate Software]
Elevate Software, Inc.
<< With 2.01 something seems to have changed. The "modified" property it always true, even if nothing has been changed (at least I am not aware of any changes). >>
It's a bug in 2.01. The fix is here in WebData - the TDataRow.CanNotifyChanges method should look like this:
function TDataRow.CanNotifyChanges: Boolean;
if Result then
Result:=(FDataSet.State <> dsReset);
I'll have a fix in B3.