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

Disabling ALL Save And Save As functionality in the designer

edited March 2003 in General
Hi All,

I am wanting to remove ALL the Save and Save As functionality from the
designer window, and code my own in our application.

I have worked out how to hide the relevant menu items, but cannot seem to
override the 'Save these changes' message when you make some changes and
exit the designer.

I've searched the NG and found someone that asked this back in 2000, but a
solution was never posted.

Has anybody achieved this successfully without resorting to a 'kludge'?

Regards
Dave

Comments

  • edited March 2003
    Upon exiting the designer, check Report.Modified = True. Use the
    Report.Template.SaveToFile or SaveToDatabase routines. You could use the
    Designer.OnCloseQuery event to provide the timing to save the report. See
    the help file on the TppReportTemplate class.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited March 2003
    Thanks for the info Jim, much appreciated.

    Regards
    Dave
This discussion has been closed.