|
Archive a Report For Distribution
|
Previous Top Next |
|
Report archiving may be accomplished either by the options provided on the rpm_Standard_Rpt or rpm_Cpcs_Rpt extension templates or using the rpm_Archive code template. The code template provides an easy way to force an archive before the user previews or prints the report. This also provides an easy means to control report archival through your own logic by wrapping the code template within an IF/END clause. If no other action is required, no preview and no printing, you can add the rpm_ExitReport template following the rpm_Archive template to exit the report without further involvement of the end user. For distribution of a report the code template approach is probably the most sensible. Simply use a !variable for the archive filename and possible for the archive path and let the template generate the TPS file for distribution. To provide use of this archive to the recipients of the distribution you can create a small application using the rpm_RetrieveView and rpm_ImportArchive templates. |