salut
j'essaie de remplir un bloc multiligne a partir du resultat d'un curseur.
normalement le curseur me ramene 2 enregistrement, et dans le bloc il ne m'affiche q'un seul enregistrement :

voila le code :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
declare
 
cursor c_article is select * from ARTICLETMP where BureauDouanier=:entete.BureauDouanier and RegimeDouanier=:entete.RegimeDouanier and 
annee=:entete.annee and 
NumDeclaration=:entete.NumDeclaration and cledeclaration=:entete.cledeclaration ;
 
begin
go_block('X_ARTICLE');
for var_article in c_article loop
create_record;
                  :x_article.x_sh:= var_article.sh;
 
                  :x_article.x_valeur:=var_article.VALEUR;
 
                  :x_article.x_poida:=var_article.POIDS;
 
                  :x_article.x_rsa:=var_article.regimestatistique;
 
                  :x_article.x_qtcompl:=var_article.quantitecomplementaire;
 
                  :x_article.x_payso:=var_article.PAYSORIGINE;
 
                  :x_article.x_asp:=var_article.AVECSANSPAYEMENT;
 
                  :x_article.x_libsh:=var_article.LIBELLESH;
 
                  :x_article.x_uc2:=var_article.UNITECOMPLEMENTAIRE2;
 
                 exit when (c_article%notfound);
 
next_record;
end loop;
end;
que puisse je faire???