Click or drag to resize

ReportQueue.SaveToFile Method

X#
Save a report to the given file name.

Namespace:  VO
Assembly:  VOReportClasses (in VOReportClasses.dll) Version: 2.24 GA
Syntax
 VIRTUAL METHOD SaveToFile(
	cOutFile,
	cFormat,
	aParams
) AS USUAL CLIPPER
Request Example View Source

Parameters

cOutFile (Optional)
Type: Usual
cFormat (Optional)
Type: Usual
Another string defining the save format to be either RTF or TEXT. Rich Text Format maintains all the spacing, table alignments, fonts, and such characteristics. The default is RTF.
aParams (Optional)
Type: Usual
An array of string parameters, which are report parameters as understood by the Report Editor report file. See the discussion under the ReportQueue:Preview() method.

Return Value

Type: Usual
Examples
This example stores two files in RTF format to disk:
X#
1oRQ:Print({"Spain","1992"})
2oRQ:SaveToFile("spain92.rtf","RTF")
3oRQ:SaveToFile("spain93.rtf",,{,"1993"})
See Also