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

TppReport.Template.FileName must have vallue ?

edited November 2013 in General
Hello,

I have a very simpel report, that is part of the form.
However, I havt to fill in the Template.Filename property ?

When there is a plcal path, it gives an error when deploying it on another
machine where the path does not exists.

Why is it trying to load the report from file, when it is also a part of the
form ? Am I missing some property / configuration ?

(I solved it by making the path relative, and shipping the reportfile with
the appliaction, but that's not really ideal... )

kind regards,

Dirk Janssens.

Comments

  • edited November 2013
    Hi Dirk,

    Be sure you do not have the Report.SaveAsTemplate property set to True.
    This will ensure that the report is saved and loaded from the form
    definition.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2013
    Thanks Nico, that was it !

    Just curious :is this new ? Or dit the default value change ?
    (I never had this problem before, and use it for > 10 years now :-) )

  • edited November 2013

    This behavior has been in the product for 10+ years, almost since the
    beginning. :)


    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.