<<

Contents

Search

>>

 

REPORT_CHANGE_JUSTIFY

 

 

Function

 

 

Syntax:

REPORT_CHANGE_JUSTIFY(<Block>, <Row>, <Column>, <Justify>)

 

<Block>

= <STRING-EXPRESSION>

<Row>

= <NUM-EXPRESSION>

<Column>

= <NUM-EXPRESSION>

<Justify>

= <NUM-EXPRESSION>

 

Meaning:

Changes the justify attribute of a report field.

 

The function has to be called while a report is executed.

 

<Block> specifies the block which contains the report field:

 

<Block>

Refers to

"H" or "K"

Head block

"D"

Data block

"W"

Group Change Block

"E"

Report Ending Block

"F"

Foot block

 

<Row> and <Column> specify the position within the block.

 

If <Justify> = 1 the justufy attribute is set otherwise it is reset.

 

REPORT_CHANGE_JUSTIFY returns the following results:

 

1

No error

-1

Report field not found

-2

No report is currently executed

 

Parameter:

Block

Block which contains the report field

Row

Row of the report field

Column

Column of the report field

Justify

1: the justify attribute is set

otherwise: the justify attribute is reset

 

Sample:

/* Change the justify attribute of the report field in the data block

/* at position 2,14

 

H% = REPORT_CHANGE_JUSTIFY("D",2,14,1)

IF H% <> 1 THEN ...error... ENDIF

 

See also:

REPORT

REPORT_CHANGE_FIELD_COLOR