Click or drag to resize

ReportQueue.SetSQLFile Method

X#
Load an SQL query file as the active SQL query for the report.

Namespace:  VO
Assembly:  VOReportClasses (in VOReportClasses.dll) Version: 2.24 GA
Syntax
 VIRTUAL METHOD SetSQLFile(
	sQuery
) AS USUAL CLIPPER
Request Example View Source

Parameters

sQuery (Optional)
Type: Usual

Return Value

Type: Usual
Remarks
Loads an SQL query file from disk to be used as the active query for this report. The SQL query file should be loaded before calling Print() or Preview().
Tip Tip
Query-By-Example (.QBE) query files are not supported by the X# Report Writer.
Examples
X#
1oRQ:SetSQLFile("QUERY6.SQL")
See Also