Copy Reports
Move single or multiple reports from one database to another by using the copyrep command to copy the reports out and the sreport command to copy them into the second database.
The sreport command overwrites existing reports with the same names as those copied. You must check whether you have any reports with the same names as the ones being copied. If you do not want to overwrite them, edit filename.rw and change the report names.
For a complete description of the flags and parameters for copyrep and sreport, see the Forms-based Application Development Tools User Guide. Also, see the copyapp command in the Command Reference Guide.
Example: Copy Reports to Another Database
Assume the DBA wants to copy two reports she owns, parts_restock and parts_on_order, from the inventory database to the orders database. The file name textfile.rw is selected as the temporary file name. The following command at the operating system prompt copies the reports out to a file:
copyrep inventory textfile.rw parts_restock parts_on_order
The following command at the operating system prompt copies the reports into the orders database:
sreport orders textfile.rw
Last modified date: 08/14/2024