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

end-user- designer not asking to save (when in preview tabsheet)

edited March 2006 in End User
At the moment we are working to make some end user reports. We noticed the
following:

If you make changes to a report in the designer (run time), there is no
confirmation to ask you for saving when you close the form and you are in
the preview tab.

For example, you open a report, make changes , go to the preview tab and
close the form. If you do this all chanes are gone. Only if you are in the
data or design tabsheet, you are asked if you want to save the report.

Is there a way this can be set, or do you have to update the report
builder code for this?

Kind regards,

John.

We use the following:

Delphi 7
ReportBuilder Pro 10.01



--- posted by geoForum on http://delphi.newswhat.com

Comments

  • edited March 2006
    Hi John,

    There is a patch available for this issue. Please send an email to
    support@digital-metaphors.com requesting this patch and we'll send it to you
    asap.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2006
    Thank you for the fast reply. Will do so.



    --- posted by geoForum on http://delphi.newswhat.com
  • edited March 2006
    >> If you make changes to a report in the designer (run time), there is no

    I mainly work in the stDatabase-mode.
    In this mode, the save question never seems to be triggered.
    Is this a feature not available in the stDatabase-mode? Or can I enable it
    somewhere?

    /Johan
  • edited March 2006

    If you run the RBuilder\Demos\EndUser\ReportExplorer, this example

    Report.SaveAsTemplate needs to be set to True.

    I recommend using using the Report.Template.OnNew and
    Report.Template.OnLoadEnd events to initalize Report.SaveAsTemplate to True.
    Otherwise, you might load an old report that was saved with this value set
    to False and then the designer would not ask you to save changes for that
    report.



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited March 2006
    Thanks for the patch, that did work



    --- posted by geoForum on http://delphi.newswhat.com
This discussion has been closed.