Hi!
I'm having a problem with display array!
The idea is to display the array (for the user to see the information), while in another dialog. The problem is i can only see the first row of the array, although the array has the complete information (ex: 3 rows)
The .per file has the folloing information regarding to the array.
[...]
TABLE t1 ( wantfixedpagesize, width=30 columns, height=10 lines, style="lista" )
{
[tp |dtp ][e][f][g][h][j][k][l][m][n]
}
end -- TABLE
[...]
tp = ct_03006.tpdoc, title = "Doc.", justify=center, comments =
" F10-Ver Documentos p/Email (Tab.171)";
dtp = formonly.dtp171, noentry, title = " Descricao";
e = formonly.lemail1, include = (0,1), title = "A", justify=center;
f = formonly.lemail2, include = (0,1), title = "B", justify=center;
g = formonly.lemail3, include = (0,1), title = "C", justify=center;
h = formonly.lemail4, include = (0,1), title = "D", justify=center;
i = formonly.lemail5, include = (0,1), title = "E", justify=center;
j = formonly.lemail6, include = (0,1), title = "F", justify=center;
k = formonly.lemail7, include = (0,1), title = "G", justify=center;
l = formonly.lemail8, include = (0,1), title = "H", justify=center;
m = formonly.lemail9, include = (0,1), title = "I", justify=center;
n = formonly.lemail10, include = (0,1), title = "J", justify=center;
[...]
screen record sc_f03006 (tpdoc,dtp171,lemail1, lemail2, lemail3, lemail4,
lemail5,
lemail6, lemail7, lemail8, lemail9, lemail10)
[...]
The .4gl has the following code.
[...]
let ql_03006= a_03006.getLength()
display array a_03006 to sc_f03006.*
attribute (count=ql_03006, unbuffered)
before display
call ui.Interface.refresh()
exit display
end display
[...]
When I display the value of the length of the array, it returns the correct number of rows, but it only displays the information of the first row.
Thanks in advance,
Cândida