Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
163
Добавлен:
11.05.2015
Размер:
4.73 Mб
Скачать

Subreports Name property, Page 651

Subreports NLinks property, Page 653

Subreports OnDemand property, Page 653

Subreports Section property, Page 654

Subreports SubExecute property, Page 654

Subreports Methods

Subreports Add method, Page 655

Subreports Clear method, Page 656

Subreports CopyFrom method, Page 657

Subreports Count method, Page 658

Subreports Create method, Page 658

Subreports Delete method, Page 658

Subreports Destroy method, Page 659

Subreports IndexOf method, Page 659

Subreports Retrieve method, Page 660

SummaryInfo

Declaration

property SummaryInfo: TCrpeSummaryInfo;

Type

TCrpeSummaryInfo = class(TPersistent)

Description

The SummaryInfo object contains properties that hold Summary Information about the Report. Summary Information is made up of various fields that describe the Report and are useful for entering more detailed descriptions about the Report than can be specified in the filename itself:

Summary Information consists of the Title of the Report, it's Author, Subject, Template, Keywords, and Comments.

The Title property holds the same information as the ReportTitle property, or the Report Title field in Crystal Reports Designer.

VCL Reference

114

The Comments property holds the same information as the Report Comments field in Crystal Reports Designer.

If Summary Information has been entered when the Report was designed, it can be retrieved using the Retrieve method.

NOTE: You must have Crystal 6.0 or higher to use SummaryInfo.

SummaryInfo Example

The following code sets two properties of the SummaryInfo object, and then exports the Report to a new Crystal Report:

Crpe1.ReportName := 'MyReport.rpt';

Crpe1.SummaryInfo.Title := 'My New Report';

Crpe1.SummaryInfo.Comments.Text := 'A new Report.';

Crpe1.Output := toExport;

Crpe1.Export.Destination := toFile;

Crpe1.Export.FileType := CrystalReportsRPT;

Crpe1.Export.FileName := 'c:\NewReport.rpt';

Crpe1.Execute;

SummaryInfo Properties

SummaryInfo AppName property, Page 661

SummaryInfo Author property, Page 662

SummaryInfo Comments property, Page 662

SummaryInfo Keywords property, Page 663

SummaryInfo Subject property, Page 663

SummaryInfo Template property, Page 664

SummaryInfo Title property, Page 664

SummaryInfo Methods

SummaryInfo Clear method, Page 665

SummaryInfo CopyFrom method, Page 665

SummaryInfo Create method, Page 666

SummaryInfo Destroy method, Page 666

SummaryInfo Retrieve method, Page 667

SummaryInfo Send method, Page 667

VCL Reference

115

Соседние файлы в папке crystal