Multiline Text

I have a big problem with reports, maybe someone can help me.

I hace a report with a multiline text field but when I generate the pdf the text goes to the end of the page without changing line

How I can solve?

Thanks in advance

Picture.jpg

Not sure, but I would try to change the field width.

Thanks for your answer

changed to 2 for example, and still the same behaviour

PDF Report / Fields / <your multiline text field> / Width: set your width for that field.

Yes changed to all possible values but the problem it’s still here.

Picture.jpg

Check and set the width field in PDF Report / Layout PDF / Interface / <your multiline text field> to 0 (zero).

Set to 0
The same results :frowning:

Now I see that we only have the problem if we worl with the multiline text on head or page bottom if the multiline text is in the document body all it’s ok, maybe the scritpcase people has to work on it

For me it works so … (edit: in the body).

So if I need to repeat this text in all pages what will be the solution

Is that a question? When yes: PDF Report / Settings / Type: “Records per line” and the text in Header/Footer

No

The problem is: if I place the multiline in the header or footer it not works
Only works when placed in the body
I need to place it in the header

You can possibly use a workaround:

(NachweisDetails.Beschreibung is my multiline field, I used this code with SC 5.1 for multiline text fields in the body).

$temp = “”;
$textline = “”;
$i = 0;

foreach({NachweisDetails.Beschreibung} as $textline)
{
// ca. 42 characters per line
$temp = wordwrap($textline, 42, “<br>”, true);

{NachweisDetails.Beschreibung}[$i] = $temp;

$i++;
}

HTH.

Still the same proble with multiline text on footer or header