j:= 0 ;
for i in 1..count loop
if j mod 3 =0 then
if j = 0 then
htp.p('<tr color="1">');
end if;
if j=3 then
htp.p('<tr color="2">');
end if;
if j=6 then
htp.p('<tr color="3">');
end if;
if array.(i) is not null then
htp.p('<td>'||array2.(i)||' </td>');
j := j++;
end if;
else
if j mod 3 <> 0 then
if array.(i) is not null then
htp.p('<td>'||array2.(i)||' </td>');
j:=j+1;
end if ;
end if;
end if;
if j mod 3 = 0 then
htp.p('</tr>');
end if;
end loop;
0810納品
最新推荐文章于 2022-12-03 11:00:25 发布