Hi everybody!
I've a report that, among the others, has a textbox that contains an array in which I put a blob (this blob contains a very long string). when I execute it shows me this message: 'the text in the report exceeds the allowed limit by 118 characters'.
But if I cut the string by 119 characters it works good.
So I'm wondering if it's a code error or it's a Navision problem.
I attach the code in which the system stops.
WHILE NOT (VarInstream.EOS()) DO BEGIN
VarInteger := STRLEN(TXTArray[I]);
IF (VarInteger >= 1024) OR ((VarInteger + 50) >= 1024) THEN BEGIN
I := I +1;
VarInstream.READTEXT(TXTArray[I], 50);
END ELSE BEGIN
VarText := TXTArray[I];
VArInstream.READTEXT(TXTArray[I], 50);
TXTArray[I] := TXTapp + TXTArray[I];
VarText := '';
END;
thanx!!!
Answers
It works as expected... More or Less...