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

Returns

Returns a Class Library Error Codes (page 477).

Returns PEP_NOERROR if no error has occurred.

Related Topics

PEGetErrorCode, Volume 2, Chapter 1

CRPEJob::GetErrorText

Use GetErrorText to retrieve a descriptive error message for the print job.

Syntax

GetErrorText () RETURNING ixString

Returns

A ixString object containing the text for the current error.

Related Topics

PEGetErrorText, Volume 2, Chapter 1

CRPEJob::GetExportOptions

Use GetExportOptions to prompt the user with a series of dialog boxes to specify the export options to be used. These options are used by the Class Library to fill in a class CRPEExportOptions (page 461). The CRPEJob::ExportTo, Volume 3, Chapter 7, function can then be used to set the print job destination using the information in this class.

Syntax

GetExportOptions () RETURNING BOOLEAN, CRPEExportOptions

Returns

Boolean

TRUE if the call is successful.

FALSE if the call fails.

class CRPEExportOptions, Page 461

Crystal Class Library for NewEra Reference

412

Related Topics

PEGetExportOptions, Volume 2, Chapter 1

CRPEJob::GetFormula

Use GetFormula to retrieve the formula text for the specified formula. CRPEJob::GetFormula is often used with CRPEJob::SetFormula, Page 442, to identify and then change an existing formula in response to a user selection at print time.

Syntax

GetFormula (formulaName CHAR(*)) RETURNING BOOLEAN, ixString

Parameter

formulaName

The name of the formula for which you want to retrieve the formula string.

 

 

Returns

Boolean

TRUE if the call is successful.

FALSE if the call fails.

A ixString object containing the formula text.

Related Topics

PEGetFormula, Volume 2, Chapter 1

CRPEJob::GetGraphData

Use GetGraphData to determine what data in your report is being used by a specified graph when the chart is created. This information includes which groups are used to create the rows and columns of the chart and which summary field in the report is used to set the values of the risers in the chart.

Syntax

GetGraphData (sectionCode SMALLINT, graphN SMALLINT) RETURNING BOOLEAN, CRPEGraphDataInfo

Crystal Class Library for NewEra Reference

413

Parameters

sectionCode

Specifies the Section Codes (page 480), for the section of the report containing the chart

 

from which you want to retrieve data.

 

 

graphN

Specifies from which chart within the section you want to retrieve chart data

 

information. This value is 0-based. Within a section, charts are numbered from top to

 

bottom first and from left to right if they have the same top.

Return Values

Boolean

TRUE if the call is successful.

FALSE if the call fails.

class CRPEGraphDataInfo, Page 465

Related Topics

PEGetGraphData, Volume 2, Chapter 1

CRPEJob::GetGraphOptions

Use GetGraphOptions to retrieve information about any of several chart options. These options include the minimum and maximum values that can appear on the chart, whether grid lines appear, whether risers are labeled, whether bar charts have horizontal or vertical bars, and whether a legend appears on the chart.

Syntax

GetGraphOptions (sectionCode SMALLINT, graphN SMALLINT) RETURNING BOOLEAN, CRPEGraphOptions

Parameters

sectionCode

Specifies the Section Codes (page 480), for the section of the report containing the chart

 

from which you want to retrieve options.

graphN

Specifies from which chart within the section you want to retrieve chart options

 

information. This value is 0-based. Within a section, charts are numbered from top to

 

bottom first and from left to right if they have the same top.

 

 

Returns

Boolean

TRUE if the call is successful.

FALSE if the call fails.

class CRPEGraphOptions, Page 466

Crystal Class Library for NewEra Reference

414

Related Topics

PEGetGraphOptions, Volume 2, Chapter 1

CRPEJob::GetGraphText

Use GetGraphText to determine what text will appear with a chart. A chart can have a title, subtitle, footnote, title for groups, title for series, title for the X axis, title for the Y axis, and title for the Z axis (in 3D charts).

Syntax

GetGraphText (sectionCode SMALLINT, graphN SMALLINT) RETURNING BOOLEAN, CRPEGraphTextInfo

Parameters

sectionCode

Specifies the Section Codes (page 480), for the section of the report containing the chart

 

from which you want to retrieve text.

 

 

graphN

Specifies from which chart within the section you want to retrieve chart text

 

information. This value is 0-based. Within a section, charts are numbered from top to

 

bottom first and from left to right if they have the same top.

 

 

Returns

Boolean

TRUE if the call is successful.

FALSE if the call fails.

class CRPEGraphTextInfo, Page 468

Related Topics

CRPEJob::GetGraphText, Page 415

CRPEJob::GetGraphType

Use GetGraphType to retrieve which one of the available chart types is being used for the specified chart in the specified section. Use this method to find out what type of chart is being displayed in the report. There are many types of charts possible with Seagate Crystal Reports. This method will return the type of chart being displayed.

Syntax

GetGraphType (sectionCode SMALLINT, graphN SMALLINT) RETURNING BOOLEAN, SMALLINT

Crystal Class Library for NewEra Reference

415

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