IPrxReportExporter.Sheet

Syntax

Sheet: IPrxSheet;

Description

The Sheet property determines a regular report sheet to be exported. If the property is set to NULL, the whole report is exported. The whole report is exported by default. Use the ExportRange property to set the range of sheets to be exported.

Example

The following example assumes that there is the Report object with the IPrxReport type.

Sub UserProc;

Var

Report: IPrxReport;

Exp: IPrxReportExporter;

Begin

Exp := New PrxReportExporter.Create;

Exp.Report := Report;

Exp.Sheet := Report.Sheets.Item(0);

Exp.ExportToFile("C:\Report.xls","xls");

End Sub UserProc;

After executing the example only the first sheet of the regular report is exported to the specified format.

See also:

IPrxReportExporter