I am going to save the report into .RTM so that the .EXE file will be smaller, but I just wonder how to do that because all the report events are left in the DELPHI .PAS file.
When designing a report, you can save the template by selecting the file | save menu option. This will save the .rtm file to a location on your hard drive. Then you may clear out the report object on your Delphi form and either dynamically or manually load the .rtm file to the report component as you need it.
If you would like to make your reports completely portable, you will need to have ReportBuilder Enterprise Edition. Then using RAP you can save the entire report, including event handler code to the .rtm file and load the .rtm files to an empty report component as you need them.
Comments
When designing a report, you can save the template by selecting the file |
save menu option. This will save the .rtm file to a location on your hard
drive. Then you may clear out the report object on your Delphi form and
either dynamically or manually load the .rtm file to the report component as
you need it.
If you would like to make your reports completely portable, you will need to
have ReportBuilder Enterprise Edition. Then using RAP you can save the
entire report, including event handler code to the .rtm file and load the
.rtm files to an empty report component as you need them.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com