LoadFromFile on Menu in Designer
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
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
This discussion has been closed.
Comments
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
http://www.digital-metaphors.com
info@digital-metaphors.com