Products Downloads


French version


 

 

ADELIA

      

      

      

      

(I)

 

 

 

 

 

Section for use

INITIALIZATION, VERIFICATION, VALIDATION, TRANSACTION, SFTKYS_PROCESS or any other section, specifying the transaction number.

 

Syntax

H_INTENSITY Option VarId1 SeriesVarId Transaction

 

Option

Þ

*ON | *OFF | None

 

 

 

SeriesVarId

Þ

SeriesVarId VarId | None

 

 

 

Transaction

Þ

TransactionNum | None

 

Description

This instruction is used to condition the display of a screen field VarId1. The DDS screen attribute DSPATR(HI) is generated for all the fields SeriesVarId indicated after this instruction. The attribute is preceded by an indicator in the screen file, which is activated when the instruction is reached in the program.

 

Whenever the instruction is used without *ON or *OFF, it is deactivated (indicator reset to 0) after each screen reading, and by the END_MANAGE_SFL and END_ADD_SFL instructions when placed in a MANAGE_SFL/ END_MANAGE_SFL or ADD_SFL/ END_ADD_SFL block.

 

It is only possible to mention a transaction number if this instruction is used with *ON or *OFF.

When used with *ON, the instruction remains activated until executed with *OFF, for the same group of variables.

 

Notes:

    • A variable used with a group of variables must always be used with this same group.
    • For a specific variable, the instruction cannot be used once with *ON or *OFF and another time without *ON or *OFF.

 

Example

IF   CUSTOMER_VIEW EXISTS

H_INTENSITY *ON ZORDER_NBR ZORDER_DATE ZORDER_CUST_COD

END

*

BEGIN_PROCEDURE ENTRY

*

* this procedure deals with transaction # 3

IF   ACTION_CODE = 'DELETE'

H_INTENSITY *OFF ZORDER_NBR ZORDER_DATE ZORDER_CUST_COD 03

PROTECT *ON ZORDER_NBR ZORDER_DATE ZORDER_CUST_COD 03

ELSE

H_INTENSITY *ON ZORDER_NBR ZORDER_DATE ZORDER_CUST_COD 03

PROTECT *OFF ZORDER_NBR ZORDER_DATE ZORDER_CUST_COD 03

END

END_PROCEDURE

 

See also the list of 4GL instructions by topic

↑ Top of page

  • Aucune étiquette