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

Parameter

sortFieldN

Specifies the number of the sort field you want to retrieve. The first sort field added to

 

the report is field 0, the second is 1, etc.

Remarks

This method gets the name of the sort field at the specified sort field position and the direction in which data is sorted (ascending or descending).

Returns

BOOLEAN

TRUE if the call is successful, FALSE if something goes wrong.

 

 

ixString

Assigned the name of the sort field if the call completes successfully.

 

 

SMALLINT

Retrieves one of the Sort Order Constants (page 480).

 

 

Related Topics

PEGetNthSortField, Volume 2, Chapter 1

CRPEJob::GetNthTableLocation

Use GetNthTableLocation to retrieve the table location information for the specified table in the report. This method is typically combined with CRPEJob::SetNthTableLocation, Page 452, to identify the location of a table and then to change it.

Syntax

GetNthTableLocation (tableN SMALLINT) RETURNING BOOLEAN, CRPETableLocation

Parameter

tableN

Specifies the 0-based number of the table for which you want to retrieve location information.

 

 

Returns

Boolean

TRUE if the call is successful.

FALSE if the call fails.

class CRPETableLocation (page 475)

Related Topics

PEGetNthTableLocation, Volume 2, Chapter 1

Crystal Class Library for NewEra Reference

428

CRPEJob::GetNthTableLogOnInfo

Use GetNthTableLogOnInfo to retrieve SQL connection information for the specified table.

Syntax

GetNthTableLogonInfo (tableN SMALLINT) RETURNING BOOLEAN, CRPELogonInfo

Parameter

tableN

Specifies the 0-based number of the table from which you want to get log on information.

Returns

Boolean

TRUE if the call is successful.

FALSE if the call fails.

class CRPELogOnInfo (page 470)

Related Topics

PEGetNthTableLogOnInfo, Volume 2, Chapter 1

CRPEJob::GetNthTableSessionInfo

Use GetNthTableSessionInfo to retrieve the session information for the specified Microsoft Access table. Many MS Access database tables require that a session be opened before the information in the table can be used. Use this method to obtain the session information (User ID and Session Handle) for a particular tab.

Syntax

GetNthTableSessionInfo (tableN SMALLINT) RETURNING BOOLEAN, CRPESessionInfo

Parameter

tableN

A 0-based table number indicating for which MS Access table in the report you want to

 

obtain the session information.

 

 

Returns

Boolean

TRUE if the call is successful.

FALSE if the call fails.

class CRPESessionInfo (page 474)

Crystal Class Library for NewEra Reference

429

Related Topics

PEGetNthTableSessionInfo, Volume 2, Chapter 1

CRPEJob::GetNthTableType

Use GetNthTableType to retrieve the table type information for the specified table.

Syntax

GetNthTableType (tableN SMALLINT) RETURNING BOOLEAN, CRPETableType

Parameter

tableN

The 0-based table number indicating for which table in the report you want to determine the

 

type.

 

 

Returns

Boolean

TRUE if the call is successful.

FALSE if the call fails.

class CRPETableType (page 476)

Related Topics

PEGetNthTableType, Volume 2, Chapter 1

CRPEJob::GetPrintDate

Use GetPrintDate to retrieve the print date (if any) that was specified with the report. Use this method to retrieve the print date and pass it back using CRPEJob::SetPrintDate, Page 454.

Syntax

GetPrintDate () RETURNING BOOLEAN, SMALLINT, SMALLINT, SMALLINT

Crystal Class Library for NewEra Reference

430

Returns

Boolean

TRUE if the call is successful.

FALSE if the call fails.

The year component of the current print date.

The month component of the current print date.

The day component of the current print date.

Related Topics

PEGetPrintDate, Volume 2, Chapter 1

CRPEJob::GetPrintOptions

Use GetPrintOptions to retrieve the print options specified for the report (the options that are set in the Print Setup common dialog box) and use them to fill in the class CRPEPrintOptions (page 471). Use this function to retrieve print options from the report in order to update them and pass back using CRPEJob::SetPrintOptions, Page 455.

Syntax

GetPrintOptions () RETURNING BOOLEAN, CRPEPrintOptions

Returns

Boolean

TRUE if the call is successful.

FALSE if the call fails.

class CRPEPrintOptions (page 471).

Related Topics

PEGetPrintOptions, Volume 2, Chapter 1

CRPEJob::GetReportTitle

Use GetReportTitle to retrieve the report title for the print job.

Syntax

GetReportTitle () RETURNING BOOLEAN, ixString

Crystal Class Library for NewEra Reference

431

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