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

message on closing end-user window report modified

edited September 2004 in General
Hi!

Is is possible to show a message on closing the end-user report designer
window is the report has been modified?
Something like "You must save changes before closing this window" message,
if the report have benn not saved.

Thanks!

Comments

  • edited September 2004
    I recently asked the same question. Nard's reply was:

    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.


    The order that you do this is important too.

    Jim

  • edited September 2004
    Ok, that's right, but I want end-users to save the report with other name.
    If they click "Yes" to save changes, it will overwrite the existing file.

    I want to show the "Save As" dialog if user click "Yes".
    Is it possible?


    "Jim Cullison" escribi? en el mensaje
This discussion has been closed.