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

How to tell if used changed report in designer

edited June 2004 in End User
What's a good way to see if the user has made changes to the report while in
the designer? I want to ask to save if there are changes.

Jim

Comments

  • edited June 2004
    If you set Report.SaveAsTemplate to True, the ReportDesigner will ask the
    user whether to save changes. I recommend only using the SaveAsTemplate
    property at runtime (i.e. do not set to true for Delphi design-time.)

    The RBuilder\Demos\EndUser\ReportExplorer contains an example of using this
    property.


    --

    Nard Moseley
    Digital Metaphors Corporation
    www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited June 2004
    Thanks! As soon as I started setting the SaveAsTemplate AFTER loading a
    template, it works.

    Jim

This discussion has been closed.