CHGTZN

Summary


"Chgtzn" is used to change the title of a field located in a list section.

Syntax

Chgtzn[ class] [ id_zones]With expr_c

Parameters

Element

Description

Restrictions

class

In the absence of this parameter, the default mask is used.

class describes an open mask by Mask order.

id_zone

Identification of a field zone under one of the following forms :
variable_name
variable_name '('
exp_ind ')'
int_zones
rank_no
int_ranks

The fields where the name is given must be defined in the corresponding mask.

exp_ind

Integer expression where the value is the index of the variable to be displayed.

The index must be in the interval defined by the repetition factor.

int_zones

Field interval, that is to say the two field names separated by the '-' (minus sign).

The two fields must belong to the corresponding mask.

rank_no

Integer number where the value is the rank number.

1 <= rank_no <= 99

int_ranks

Interval for the ranks, that is to say two rank numbers rank1 and rank2 separated by the character '-'

rank1 <= rank2

expr_c

Expression of the type Char containing a valid format.

Format adapted to the expression type

Examples

# Change to the title of the AMTVAL1 field in the TXM1 screen
Chgtzn[M:TXM1]AMTVAL1 With "new text"

Description and comments

"Chgtzn" is used to change the title of a field located in a list section.

Associated errors

Error

Description

ERVARI (6)

Field does not exist in the given mask.

ERCLAS (7)

Mask not declared.

Associated keywords

chgtbk - Chgfmt - Chgtfd - Chgstl - titcol - fORMAT$


SUMMARY


Copyright © Sage 1999 - 2007