ReportQueue.Print Method
|
|
Print a report to the Report Editor's selected printer.
Namespace:
VO
Assembly:
VOReportClasses (in VOReportClasses.dll) Version: 2.24 GA
Syntax VIRTUAL METHOD Print(
aParams,
uRange,
nCopies
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual Print(
Usual aParams = default,
Usual uRange = default,
Usual nCopies = default
) Request Example
View SourceParameters
- aParams (Optional)
- Type: Usual
An array of report parameters, as understood by the Report Editor report file. These report parameters can be inserted by the Report Editor into the report text, and/or can be used as selection criteria in the report query. Use commas to default any unused parameters or to re-use previously provided parameters. - uRange (Optional)
- Type: Usual
- nCopies (Optional)
- Type: Usual
Return Value
Type:
Usual
Remarks
The report parameters are transmitted to the Report Editor before the print command, and is used by subsequent Print() methods.
Examples
This example prints three different reports from the same report definition:
1
2oRQ:ConnectToDB(...)
3oRQ:Open{"sales.ret"}
4
5oRQ:Print({"Spain","1992"})
6oRQ:Print({"Ireland"})
7
8oRQ:Print({,"1993"},Range{2,3})
9oRQ:Close()
See Also