Click or drag to resize

ReportQueue.NEW Method

X#
Create a new report definition in the Report Editor for editing.

Namespace:  VO
Assembly:  VOReportClasses (in VOReportClasses.dll) Version: 2.24 GA
Syntax
 VIRTUAL METHOD NEW(
	cSQLStatement,
	iReportStyle
) AS USUAL CLIPPER
Request Example View Source

Parameters

cSQLStatement (Optional)
Type: Usual
iReportStyle (Optional)
Type: Usual

Return Value

Type: Usual
Remarks
          Constant				Description
          RPTSTYLE_CROSSTAB		Creates a cross-tabular report.
          RPTSTYLE_FORM			Creates a form-based report
          RPTSTYLE_FREESTYLE	Creates a free-style report
          RPTSTYLE_LABEL		Creates a label report
          RPTSTYLE_LETTER		Creates a letter report
          RPTSTYLE_TABULAR		Creates a tabular report
          If no report style is specified, a dialog box containing all the above report styles will appear.
        
This method allows the user to edit the report definition (.RET) file and provides the same environment as the IDE.
Examples
The following example creates a new report definition file and allows the user to edit the file:
X#
1oRQ:New("SELECT CUSTOMERS * FROM C:\CAVO2x\SAMPLES\CUSTOMER")
See Also