Reports from rtm-Files
Is it possible to load a report from a rtm-file at runtime to a TppReport
Component or should I use several TppReport Components?
I have a TppReport Component and about 20 rtm-Files.
When the user had selected an item in a ListBox and clicks on a
"Open"-Button the rtm-File should be loaded to disply a report.
If I do like this:
MyReport.Template.FileName:= ThePathToRTMFile;
MyReport.Print;
it displays the last (on designtime) opened Report.
Would by nice if somebody can help,
by the way...we'll buy it...
Best ReportTool ever seen, I thought I'd lost my mind by (trying ...to) work
with Rave :-)
Component or should I use several TppReport Components?
I have a TppReport Component and about 20 rtm-Files.
When the user had selected an item in a ListBox and clicks on a
"Open"-Button the rtm-File should be loaded to disply a report.
If I do like this:
MyReport.Template.FileName:= ThePathToRTMFile;
MyReport.Print;
it displays the last (on designtime) opened Report.
Would by nice if somebody can help,
by the way...we'll buy it...
Best ReportTool ever seen, I thought I'd lost my mind by (trying ...to) work
with Rave :-)
This discussion has been closed.
Comments
MyReport.Template.FileName:= ThePathToRTMFile;
MyReport.Template.LoadFromFile;
MyReport.Print;