58
- 82 -
tuAppend
Specifies whether the generated document will be appended to an
existing file. This parameter can be either logical, numeric or a string, with
the following meaning:
Type
Value
Meaning
Logical .F.
An existing document will be overwritten
.T.
The generated report will be appended at
the end of the existing document
Numeric 0
An existing document will be overwritten
<page No.>
The generated report will be inserted to
the existing document at the given page
number.
String
“R<page No.>” The page will be replaced with the
generated report.
“R<from>:<to>” The page range will be replaced with the
generated report.
Examples:
Parameter Meaning
.T.
The generated report will be appended to the end of the
existing document.
1
The generated report will be inserted at the beginning of
the existing document.
5
The generated report will be inserted to the existing
document, between pages 4 and 5.
“R5”
The generated report will be inserted between pages 4 and
6, replacing page 5.
“R4:8”
The generated report will be inserting between pages 3 and
9, replacing pages 4,5,6,7 and 8.
.F.
or
0
The existing document will be overwritten.
This parameter applies to PDF documents only.
(optional, default value = .F.)
SetOtherParams(…)
This method is used to add various output type specific parameters. The
first parameter is a string value representing the parameter to be set, the
second parameter is the values to be set.
Example:
To set the next sheet name in the XLS document to “Customer 1”, call:
.SetOtherParams("NEXT_SHEET_NAME", "Customer 1")
HTML specific parameters
Name
Type
Note