Description
| Opens a Tradium XML-report file, optional selecting the report and output type. When successfully opened, the function returns True.
Parameter
| Description
| XMLfilename
| the path and file name of the Tradium XML-report file.
| ReportName
| Optional. The name of the report in the file. If only one report exists in the file, that report will be selected. If there are more reports and ReportName is not specified, a dialog will appear with the reports to select one.
| OutputStyle
| This parameter contains the following pre-defined constants and values:
Constant
| Value
| Description
| vsPreview
| 0
| Default. The report will be shown in a preview window.
| vsPrintOut
| 1
| The report will be sent to a printing device. A print dialog will be shown.
| vsHTML
| 2
| The report will be exported to a HTML file
| vsDHTML
| 3
| The report will be exported to DHTML
| vsPDFdoc
| 4
| The report will be exported to PDF
| vsRTFdoc
| 5
| The report will be exported to RTF
| vsPrintDirect
| 6
| The report will be printer immediately, without any dialog.
|
| sFilter
| Optional. A SQL-filter that can be applied to the datasource of the report.
|
|