Announcement

Collapse
No announcement yet.

Multiline Text

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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 linePicture.jpg

    How I can solve?

    Thanks in advance

  • #2
    Not sure, but I would try to change the field width.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      Thanks for your answer

      changed to 2 for example, and still the same behaviour

      Comment


      • #4
        PDF Report / Fields / <your multiline text field> / Width: set your width for that field.
        Best regards: - Reinhard -

        I use ScriptCase 8 Enterprise Edition, Version 8.(latest)

        Comment


        • #5
          Yes changed to all possible values but the problem it's still here.

          Picture.jpg

          Comment


          • #6
            Check and set the width field in PDF Report / Layout PDF / Interface / <your multiline text field> to 0 (zero).
            Best regards: - Reinhard -

            I use ScriptCase 8 Enterprise Edition, Version 8.(latest)

            Comment


            • #7
              Set to 0
              The same results

              Comment


              • #8
                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

                Comment


                • #9
                  For me it works so ... (edit: in the body).
                  Best regards: - Reinhard -

                  I use ScriptCase 8 Enterprise Edition, Version 8.(latest)

                  Comment


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

                    Comment


                    • #11
                      Is that a question? When yes: PDF Report / Settings / Type: "Records per line" and the text in Header/Footer
                      Best regards: - Reinhard -

                      I use ScriptCase 8 Enterprise Edition, Version 8.(latest)

                      Comment


                      • #12
                        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

                        Comment


                        • #13
                          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.
                          Best regards: - Reinhard -

                          I use ScriptCase 8 Enterprise Edition, Version 8.(latest)

                          Comment


                          • #14
                            Still the same proble with multiline text on footer or header

                            Comment

                            Working...
                            X