OPALE - 10.0 - Utilisation - MAPPING TRACEDATA/en

Différence entre versions

De MappingDoc
Ligne 26 : Ligne 26 :
 
DATA  : .DB(whole2)=3
 
DATA  : .DB(whole2)=3
  
DATA  : .DB(entier3)=12
+
DATA  : .DB(whole3)=12

Version du 3 juin 2019 à 09:20

The MAPPING_TRACEDATA parameter recovers changes made to the fields.

MAPPING_TRACEDATA=1 recovers field changes

   Format: LIB.FILE(FIELD)=VALUE

Level 1 of DB.MAPPING_TRACEDATA shows us the values of the fields once they are assigned.

Level 2 shows us the values of the fields when they are accessed. This allows you to have more detailed calculations for instance.

Example:

The following calculation gives us:

   DB.entier3 = $DB.entier1 -$DB.entier2

At level 1: DATA : .DB(whole3)=12

At level 2:

DATA : .DB(whole3)=(null)

DATA : .DB(whole1)=15

DATA : .DB(whole2)=3

DATA : .DB(whole3)=12