I have used the report component to design a report. I save the report using file save as from the menu. Now I want to call the report from a speed button from within Delphi. How do I specify the report name and how to I print the report?
You'll need to instantiate a TppReport object and load the .rtm report template from file. Then call the Print method on the report object. Use the template property of the report. See the help file on this property for its methods and properties.
Comments
template from file. Then call the Print method on the report object. Use
the template property of the report. See the help file on this property for
its methods and properties.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com