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

Parameters

serverName

Specifies the logon name for the server or ODBC Datasource Name used to logon to

 

the server. Assigns this value to the CRPELogOnInfo::m_serverName member.

databaseName

Specifies the logon name for the database used to run the report. Assigns this value to

 

the CRPELogOnInfo::m_databaseName member.

 

 

userID

Specifies the user ID necessary to log on to the server. Assigns this value to the

 

CRPELogOnInfo::m_userID member.

password

Specifies the password necessary to log on to the server. Assigns this value to the

 

CRPELogOnInfo::m_password member.

 

 

Remarks

Constructs a CRPELogOnInfo class object. Call the constructor with no parameters to allow the Class Library to initialize all member variables with default values. Pass parameters to the constructor to assign specific values to each member variable.

class CRPEPrintOptions

This class is used to set the print characteristics of a report. It is used with CRPEJob::SetPrintOptions, Page 455.

Data Members

m_startPageN

Specifies the first page that you want to print.

 

 

m_stopPageN

Specifies the last page that you want to print.

 

 

m_nReportCopies

Specifies the number of copies that you want to print.

m_collation

Indicates whether or not you want the copies of the report to be collated (if you

 

are printing multiple copies of a multiple page report.

 

 

Constructor CRPEPrintOptions::CRPEPrintOptions

Default Syntax

CRPEPrintOptions ();

Syntax

CRPEPrintOptions (startPageN SMALLINT : 0, stopPageN SMALLINT : 0, nReportCopies SMALLINT : 0, collation SMALLINT : PEP_DEFAULTCOLLATION);

Crystal Class Library for NewEra Reference

471

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