The COPY command inserts the contents of a file (with rpv code inside) into an Rpv report. This command can be very useful for working
with templates, but generating Rpx or Rpd files can be much better. It is desirable to create files with the extension
"INS" to be inserted because "INS" is recognized by Rpv Reports as an extension to be converted when working
with a Unix queue.
The COPY command MUST be alone in one line. See the example.
Rpv Reports performs automatically the conversion of some files when it works with a remote FTP queue in Unix
so if you work with that feature we recommend that the files that you insert into a copy have the extension INS.
Syntax:
{copy=file_to_be_inserted_here}
The file that copy command refers must be a file containing Rpv text but it is not necessary
to be with Rpv extension. Copy command works in any part of the
report always with the same syntax.
Copy command can be really
important for example to insert into a report a standard
configuration section.
It is important to remmark
that COPY command can be inserted at any part of
the report. It is not necessary to be in [header]
or [data] sections.
Example:
Report_title=Use of the copy command.
{copy=c:\templates\CSC.txt}
[header]