Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

TppCustomReport.Modified property always true even if no changes?

edited April 2002 in General
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

Comments

  • edited May 2002
    Hi Dave,

    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;

  • edited May 2002
    Can you please provide a template which causes this behavior (send to
    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

  • edited May 2002
    Hi Alexander,

    please see thread 'Did user modify report?' from 2002-02-08.

    regards,
    Chris Ueberall;

    "Alexander Kramnik (Digital Metaphors)" wrote
  • edited May 2002
    Dave, please send a request to support@digital-metaphors.com and we'll get
    you the patch.


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.