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

Save Dialog When Report is Changed

edited September 2003 in General
I am using RBuilder with load from and save to database. Also using
ppDictionary, etc in MS SQL application. Everything is working fine with
one exception. When I alter a report and then exit, RBuilder does not
prompt to save the report. It just closes.

Is there a property I can set to cause the designer to prompt to save if
there has been any change in the report?

Or

If not, I assume I have to design my own save interface. What property can
I test to see if the user altered the report and therefore prompt to save?
Any examples of doing this?

Thanks,
Bob Tucker

Comments

  • edited September 2003
    I found the Report.Template.Modified property which is very helpful. Any
    other suggestions or insight would be helpful. If the modified property is
    true, why does the designer not prompt to save automatically?

    Thanks,
    Bob

  • edited September 2003
    Hi Bob,

    When not using the ReportExplorer, the Report Designer will not prompt to
    save automatically if the report has been modified. You are on the right
    track to solve this problem by using the Report.Template.Modified property
    to find out if the report has been changes and then when the user closes the
    designer, create a dialog to ask them if they would like to save their
    changes and if so, save the template to your database BLOB field.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.