TppCustomReport.Modified property always true even if no changes?
I am using the Template.LoadFromDatabase method and even setting Modified to
false, eg:
ppReport.Template.LoadFromDatabase;
ppReport.Modified := False;
ppDesigner.ShowModal;
if ppReport.Modified and (MessageDlg('Report has been modified. Save
changes?',
mtConfirmation, [mbYes, mbNo], 0) = mrYes) then
Even if the user makes no changes, Modified is still True.
Any help appreciated.
--
Dave Nottage
false, eg:
ppReport.Template.LoadFromDatabase;
ppReport.Modified := False;
ppDesigner.ShowModal;
if ppReport.Modified and (MessageDlg('Report has been modified. Save
changes?',
mtConfirmation, [mbYes, mbNo], 0) = mrYes) then
Even if the user makes no changes, Modified is still True.
Any help appreciated.
--
Dave Nottage
This discussion has been closed.
Comments
this is a known issue in ReportBuilder 6.03 when not using 'utInches' for
the 'Units' property, thiswill be fixed in the next maintenance release.
Please send a request which includes your correct email address to
support@digital-metaphors.com and we'll send you a patched unit.
regards,
Chris Ueberall;
support@digital-metaphors.com.) One possibility which would set the Modified
property of a report to true is if the report is being converted from an
older version. In that case save the report once to update it to the new
version.
--
Cheers,
Alexander Kramnik
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
please see thread 'Did user modify report?' from 2002-02-08.
regards,
Chris Ueberall;
"Alexander Kramnik (Digital Metaphors)" wrote
you the patch.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com