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

Load template from database at run-time...

edited April 2003 in General
Do you have an example of settting the template properties of a
TppReport object at run-time. I'm trying to query a table and set the
appropriate template properties at run-time. The template file is
stored in an explorer database format.

Thanks,

Mike Dannenbring

Comments

  • edited April 2003
    Hi Michael,

    there is nothing different as when setting any other property of any Delphi component.
    Where or what is your problem?
    Does the template not load?

    regards,
    Chris Ueberall;
  • edited April 2003
    Mike,

    You should be able to load the templates directly into a report object from
    a BLOB field using a pipeline connected to the RBItems table. At runtime,
    you will need to use the Report.Template.LoadFromDatabase and SaveToDataBase
    methods. Then be sure to set the Report.Template.DataSettings correctly.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.