Com­ment gérer des c…
 
Notifications 
Reti­rer tout

Com­ment gérer des colonnes d’une table en tableau dans un pro­gramme RPG ?

Posts
Uti­li­sa­teurs
Likes
40  Vu
0
Début du sujet

Bon­jour,

il existe dans une table 20 colonnes que l’on vou­drait pou­voir trai­ter dans un pro­gramme comme un tableau :

            Counter_01 NUM(18,2) DEFAULT NULL,
            Counter_02 NUM(18,2) DEFAULT NULL,
            Counter_03 NUM(18,2) DEFAULT NULL,
            Counter_04 NUM(18,2) DEFAULT NULL,
            Counter_05 NUM(18,2) DEFAULT NULL,
            Counter_06 NUM(18,2) DEFAULT NULL,
            Counter_07 NUM(18,2) DEFAULT NULL,
            Counter_08 NUM(18,2) DEFAULT NULL,
            Counter_09 NUM(18,2) DEFAULT NULL,
            Counter_10 NUM(18,2) DEFAULT NULL,
            Counter_11 NUM(18,2) DEFAULT NULL,
            Counter_12 NUM(18,2) DEFAULT NULL,
            Counter_13 NUM(18,2) DEFAULT NULL,
            Counter_14 NUM(18,2) DEFAULT NULL,
            Counter_15 NUM(18,2) DEFAULT NULL,
            Counter_16 NUM(18,2) DEFAULT NULL,
            Counter_17 NUM(18,2) DEFAULT NULL,
            Counter_18 NUM(18,2) DEFAULT NULL,
            Counter_19 NUM(18,2) DEFAULT NULL,
            Counter_20 NUM(18,2) DEFAULT NULL, ...            

Com­ment faire pour accé­der à chaque zone à par­tir d’un indice, pour la lire ou la modifier ?

Éti­quettes du sujet
Share :