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

Overview of Section Codes

The following topics are discussed in this section.

Section Codes (32-bit), Page 172

Section Codes (16-bit), Page 173

Section Codes (32-bit)

NOTE: If you are running a 16-bit system, see Section Codes (16-bit), Page 173.

When a section code is required, use the following syntax to supply the values the program needs in order to generate the code:

section type.group.section number

Section type

Section

Section type

 

 

 

 

Report Header Section

REPORTHDR

 

 

Page Header Section

PAGEHDR

 

 

Group Header Section

GROUPHDR

Detail Section

DETAIL

 

 

Group Footer Section

GROUPFTR

 

 

Report Footer Section

REPORTFTR

 

 

Page Footer Section

PAGEFTR

If the report contains one or more groups and you are specifying a group section, use an integer to specify the group of interest (the first group is Group 0, the second is Group 1, and so forth).

NOTE: If you are specifying the section code for anything other than a group section, use 0 for this parameter.

Section

If an area contains more than one section, use an integer to specify the section of interest (the first section in an area is Section 0, the second is Section 1, and so forth).

Example section codes

Specifying the only (or the first) section in a non-group area

REPORTHDR.0.0

«The first Report Header section.»

Crystal ActiveX Control Reference

172

Specifying one of several sections in a non-group area

If a report has multiple Detail sections and you want to specify the fourth Detail section, you can specify that section as:

DETAIL.0.3

«The fourth Detail section.»

Specifying the only (or the first) section in a group area

GROUPHDR.0.0

«The first section in the first Group Header area.»

Specifying one of several sections in a group area

GROUPFTR.2.1

«The second section in the third Group Footer area.»

Section Codes (16-bit)

Select from the following section codes whenever you are asked to provide a section code value as a parameter for one of the Crystal ActiveX Control properties:

To specify this section

Use this code

 

 

 

 

All sections

ALL

 

 

Title section

TITLE

Page Header section

HEADER

 

 

Group Header 1 section

GH1

 

 

Group Header 2 section

GH2

 

 

Group Header 3 section

GH3

Group Header 4 section

GH4

 

 

Group Header 5 section

GH5

 

 

Group Header 6 section

GH6

 

 

Group Header 7 section

GH7

Group Header 8 section

GH8

Group Header 9 section

GH9

 

 

Details section

DETAIL

 

 

Group Footer 1 section

GF1

 

 

Group Footer 2 section

GF2

Crystal ActiveX Control Reference

173

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