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

PrintOut Method (Report Object)

The PrintOut method prints out the specified pages of the report to the printer selected using the SelectPrinter Method (Report Object), Page 103, method. If no printer is selected, the default printer specified in the report will be used. This method can be invoked only when in formatting idle mode.

Syntax

object.PrintOut PromptUser, NumberOfCopies, Collated, StartPageNumber, StopPageNumber

Parameters

Parameter

Description

 

 

 

 

PromptUser

Specifies Boolean value indicating if the user should be prompted for printer

(Optional)

options.

 

 

NumberOfCopies

Specifies the number of report copies you want printed.

(Optional)

 

Collated (Optional)

Specifies Boolean value specifying whether or not you want the report copies

 

collated.

 

 

StartPageNumber

Specifies the first page you want printed.

(Optional)

 

StopPageNumber

Specifies the last page you want printed.

(Optional)

 

 

 

ReadRecords Method (Report Object)

The ReadRecords method reads all records in the report.

Syntax

object.ReadRecords

Save Method (Report Object)

The Save method saves the report to a Crystal Report File (.rpt). This method can be invoked only when in formatting idle mode.

Syntax

object.Save(pReportFileName As String)

Report Designer Component Object Model

102

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