Call to the sub-programmes for the TABLEAUX
Sub-programme to be called in the OUVRE action.
The initial declaration of the variables necessary to the management of the grid is made by the line :
Gosub DECLARE From TABLEAUX
Sub-programme to be called in the FILTRE action.
In order that the default management of classes is correctly carried out between the header and the line detail, it is necessary to insert in this action the following instruction (if XXX is the abbreviation of the header table) :
Default File [XXX]
Sub-programme to be called in the LIENS action.
To correctly assign the UPDFLG and CREFLG fields, it is necessary to insert in this action the following instruction:
Gosub LIENS From TABLEAUX
Sub-programme to be called in the CREATION action.
To create all the lines, in document creation, it is necessary to insert in this action the following instruction :
Gosub CREATION From TABLEAUX
Sub-programme to be called in the MODIF action.
To create, modify or delete the lines, in document modification, it is necessary to insert in this action the following instruction : :
Gosub MODIF From TABLEAUX
Sub-programme to be called in the ANNULE action.
To delete all the lines, in document deletion, it is necessary to insert in this action the following instruction :
Gosub ANNULE From TABLEAUX
Sub-programme to be called in the APRES_CRE and APRES_MOD actions
It is necessary to repeat the call to the sub-programme LIENS :
Gosub LIENS From TABLEAUX