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

LoadFromFile on Menu in Designer

edited October 2002 in End User
ReportBuilder Pro 6.x

I have Report Explorer setup to save to a database for an area of my
application where users can create their own custom reports. I have a bunch
of canned reports elsewhere that are saved as .RTM files. Users want to be
able to load these .RTM files to use as a template for their own custom
reports. When I choose File / Load from File, the .rtm files do not load.
No error message, nothing. The existing report is left alone (even though I
am asked if I want to save it first), and I never am able to bring in the
.rtm file. I've tried it with several different .rtm files, all with the
same result. Any ideas? How can I load .rtm files into a designer hooked
to Report Explorer? Do I have a property setup wrong somewhere? Where
should I look?

David Miller

Comments

  • edited October 2002
    It should load the file. Is Report.SaveAsTemplate true? Set this to false.
    Create a new application with just a report and a designer on a form. Add
    the DADE plugin unit to your uses clause and drop a button down to call
    Designer.Showmodal. Now try to load these file based templates to the
    runtime designer. Does this work? Sounds like you were saving the current
    report on top of the report template that you were about to load. Are there
    any event handlers in your application that are affecting the template
    loading process?


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.