Check for pending changes prior to close
Howdy,
I'm using a TppDesigner, and prior to letting the user close the parent
form, I'd like to prompt the user to save the current template only if
they've made changes to the template.
Is there a property on the designer or the report to indicate that
changes have been made?
Thank you,
-Steve
I'm using a TppDesigner, and prior to letting the user close the parent
form, I'd like to prompt the user to save the current template only if
they've made changes to the template.
Is there a property on the designer or the report to indicate that
changes have been made?
Thank you,
-Steve
This discussion has been closed.
Comments
If you set the Report.SaveAsTemplate property to True, the user will be
prompted to save the template if changes are made in the designer.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
What if i just want to save some parts of the report or do some
modifications before saving?
Am 09.11.2017 um 18:44 schrieb Nico Cizik (Digital Metaphors):
1. The report will be saved to file or database as specified by the
Report.Template SaveTo property (stDatabase, stFile). For the database case,
the DatabaseSettings property contains subproperties for the bindings etc.
For an end-user application that uses the Report Explorer, the Report
Explorer handles everything for you.
2. The Report.Template OnSaveStart and OnSaveEnd events can be used to
perform custom logic.
For more details check out the RBuilder help topic for TppTemplate class and
its properties and events.
Best regards,
-
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com