Products Downloads


French version


 

 

ADELIA

      

      

      

      

(I)

 

 

 

 

 

Section for use

All

 

Syntax

CLEAR n

 

Description

Clears the subfile before loading.

This instruction resets the subfile fields (actual and hidden fields) to blank or zero, and sets all associated indicators to OFF.

 

n is the number of the subfile concerned; it is the number which follows the asterisk (*) in the layout format code.

 

Examples:

1 for *1

4 for *4

 

This instruction mainly appears in the INITIALIZATION block, before the " MANAGE_SFL n" instruction.

 

Example

**********************

INITIALIZATION 01

**********************

CHAIN ORDERS

PRESENT ORDERS

*

CLEAR 1

MANAGE_SFL 1

PRESENT ORDER_LINES

UPD_SFL

END_MANAGE_SFL

*

**********************

INITIALIZATION 02

**********************

*

*            subfile nbr 2: invoices

CLEAR 2

MANAGE_SFL 2

PRESENT CUST_INVOICES

UPD_SFL

END_MANAGE_SFL

*

*            subfile nbr 3: non assigned payments

CLEAR 3

MANAGE_SFL 3

PRESENT CUST_PAYMENTS

CHAIN PAYMENT_TABLE

PRESENT PAYMENT_TABLE

UPD_SFL

END_MANAGE_SFL

 

See also the list of 4GL instructions by topic

↑ Top of page


  • Aucune étiquette