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

 

To export a report in this format:

Use this class:

 

 

 

 

 

 

 

Data Interchange Format

UXFDIFOptions

 

 

 

 

Record Style Format (columns)

UXFRecordStyleOptions

 

Comma Separated Values (CSV)

UXFCommaTabSeparated-

 

 

Options

 

 

 

 

Tab Separated Values

UXFCommaTabSeparated-

 

 

Options

 

Character Separated Values

UXFCharSeparatedOptions

 

 

 

 

 

destinationDLLName

Specifies the name of the destination DLL that contains the destination

 

type to be used. Assigns this value to the

 

CRPEExportOptions::m_destinationDLLName member. The following

 

options are available:

 

 

 

 

 

To export a report to this

Use this DLL name:

 

destination:

 

 

 

 

 

 

 

 

 

Disk File

uxddisk.dll

 

E-mail (MAPI)

uxdmapi.dll

 

 

 

 

E-mail (VIM)

uxdvim.dll

 

 

 

 

 

destinationType

Specifies the destination type of the exported report. Assigns this value

 

to the CRPEExportOptions::m_destinationType member. The following

 

values are available:

 

 

 

 

 

To export a report to this

Use this destination type:

 

destination:

 

 

 

 

 

 

 

 

 

Disk File

UXDDiskType

 

 

 

 

E-mail (MAPI)

UXDMapiType

 

 

 

 

E-mail (VIM)

UXDVIMType

 

 

 

 

 

destinationOptions

Provides additional information specific to the export destination type.

 

Assigns this value to the CRPEExportOptions::m_destinationOptions

 

member. If you assign NULL to this parameter, the Crystal Report Engine

 

will automatically prompt the user for destination information when

 

needed. Otherwise, use a destination options class from the following table:

To export a report to this

Use this class:

destination:

 

 

 

 

 

Disk File

UXDDiskOptions

E-mail (MAPI)

UXDMAPIOptions

E-mail (VIM)

UXDVIMOptions

 

 

class CRPEGraphDataInfo

Crystal Class Library for NewEra Reference

464

The CRPEGraphDataInfo class contains information on what report data is used by a graph in the report to create the values in the graph. The class is used by CRPEJob::GetGraphData, Page 413, to retrieve information regarding an existing graph and by CRPEJob::SetGraphData, Page 442, to change the data used by an existing graph.

Data Members

m_rowGroupN

Specifies which group number in the report is used to create the values in the

 

rows of the graph.

 

 

m_colGroupN

Specifies which group number in the report is used to create the values in the

 

columns of the graph.

m_summarizedFieldN

Specifies which summary field in the report is used to set the values of the

 

risers in the graph. Summary fields are numbered in order of their creation.

 

 

m_graphDirection

Specifies the graphing direction for cross-tab reports. For normal group/total

 

report, the direction, is always PE_GRAPH_COLS_ONLY.

Constructor CRPEGraphDataInfo::CRPEGraphDataInfo

Constructs a CRPEGraphDataInfo 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.

Default Syntax

CRPEGraphDataInfo ();

Syntax

CRPEGraphDataInfo (rowGroupN SMALLINT : 0, colGroupN SMALLINT: 0 summarizedFieldN SMALLINT : 0, graphDirection SMALLINT : PEP_GRAPH_COLS_ONLY);

Parameters

rowGroupN

Specifies which group number in the report is used to create the values in the rows

 

of the graph. Assigns this value to the CRPEGraphDataInfo::m_rowGroupN

 

member variable.

colGroupN

Specifies which group number in the report is used to create the values in the

 

columns of the graph. Assigns this value to the

 

CRPEGraphDataInfo::m_colGroupN member variable.

 

 

summarizedFieldN

Specifies which summary field in the report is used to set the values of the risers in

 

the graph. Summary fields are numbered in order of their creation. Assigns this

 

value to the CRPEGraphDataInfo::m_summarizedFieldN member variable.

 

 

Crystal Class Library for NewEra Reference

465

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