REPORT "on-fly" ?
Posted: Tue Feb 08, 2022 9:14 am
hi,
i do use
with Array
and this in REPORT
and have 3 x this
now i try to create it i a loop
and got this Error
what i´m doing wrong ... out of Idee
who have a Idee
i do use
Code: Select all
DEFINE REPORT DemoCode: Select all
Public iii := 1
Public aRows [ 20 ] [ 3 ]
aRows [1] := {'Simpson','Homer','555-5555'}
...
aRows [20] := {'Reyes','Monica','432-5836'}Code: Select all
BEGIN DATA
ITERATOR iii++
STOPPER iii == 20
END DATACode: Select all
BEGIN TEXT
EXPRESSION aRows [iii] [1]
...
END TEXT
BEGIN TEXT
EXPRESSION aRows [iii] [2]
...
END TEXT
BEGIN TEXT
EXPRESSION aRows [iii] [3]
...
END TEXTnow i try to create it i a loop
Code: Select all
PUBLIC nnn
...
FOR nnn := 1 TO 3 // nnnMax
BEGIN TEXT
EXPRESSION aRows [iii] [nnn]
...
END TEXT
NEXT i don´t understand "where" i got 4 while my loop is only 1 TO 3Error BASE/1132 Bound error array access Parameter : [ 1] = A { 3 } [ 2] = N 4
Called from _PRINTTEXT(1191)
Called from _PRINTOBJECT(1140)
Called from _PROCESSBAND(1118)
Called from EXECUTEREPORT(879)
Called from FILLPDF(55)
what i´m doing wrong ... out of Idee
who have a Idee