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

LoadFromDatabase with folders

edited March 2002 in General
Hi,

i want load a Report Template. The trouble is that the report
is with the same name in different Databasefolders. create same name
Templates is no problem in the Reportbuilder Explorer!
and a other questions:
how can i start the designer with folder selection in the menu "save as"
without start the explorer befor.

thanks

Mark

Comments

  • edited March 2002
    There's no way to know which template you want to load, if there are two
    reports with the same name in the database. The datapipeline will locate
    the first record which it finds a match for the name of the report template.
    The template loading architecture is built to handle a list of templates.
    The report explorer is a tree structure for templates. You can't use a list
    type search on a tree structure. You'll need to get the folder id of the
    template that you are looking to load. Then perform you own loading function
    to get the template out of the database and into a report. You can look in
    the report explorer source in ..\RBuilder\Source\ppRptExp.pas and the
    template ppTmplat.pas to see how we load the templates.

    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.