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

TppDesigner - Save and SaveAs are not working.

edited July 2002 in General
Greetings,

Delphi 5.01
RBP 6.03

During runtime, any modifications made to a report by an end user are NOT
being saved.

It does not matter if they choose Save or SaveAs from the file menu.

If they choose save, none of their work is saved. If they choose SaveAs and
enter a new filename, the new file is NOT created.

What should I look for?

Thanks

Mike

Comments

  • edited July 2002
    Here's some things to check for:

    Do the users have permission to write to the disk?
    Are the template settings changed after it is loaded or after the user
    creates a new report that would prevent it from being saved properly?
    Are they perhaps being saved to a database rather than a file, check
    Report.Template.Save to property for this?

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

  • edited July 2002
    Greetings Alexander,

    [Alexander]
    Do the users have permission to write to the disk?

    [Mike]
    Yes. Also note that the files are NOT read-only.

    [Alexander]
    Are the template settings changed after it is loaded or after the user
    creates a new report that would prevent it from being saved properly?

    [Mike]
    Not sure what you mean here. Could you be more specific.

    [Alexander]
    Are they perhaps being saved to a database rather than a file, check
    Report.Template.Save to property for this?

    [Mike]
    Report.Template.Save = stFile

    Please note that I can use Save and SaveAs at design-time without any
    problems. Just can't use at run-time.

    Mike

  • edited July 2002
    > [Alexander]

    Is there any code that is fired after the template loads that is changing
    the SaveTo or other settings which determine where the template is being
    saved to. My other question is whether you are using the designer standalone
    or if you are using the report explorer. In the case of the latter using
    Save and SaveTo will save the tempate to the database. You need to use Save
    To File and Load From File.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

This discussion has been closed.