Skip to Content

Linebreak in a word

I have a text object with cangrow = true.

The text is in a dataset and the text is rather long. One Word PM/skrivelse is printed

'PM/skrivels' at the end of one line and then comes a linebreak and 'e' is printed on next line.

I have tried to change printer in 'page set up' but it is the same result, I have tried with 'No printer' but then the result is not good at all several words are cut.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Jul 06, 2017 at 05:50 PM

    What is the horizontal alignment? Left, Center, Right?

    What is the text interpretation? None, RTF, HTML?

    Are the words in the text separated by spaces or something else like underscore?

    Add comment
    10|10000 characters needed characters exceeded

    • The horizontal alignment is Left.

      First the text interpretation was None, then I tried with HTML, but it was the same result.

      The font is Times New Roman - 12

      The Words are separated by spaces.

  • Jul 07, 2017 at 08:27 AM

    Try using a formula instead of word and remove line breaks

    @Formula

    Replace(yourfield, chrw(15, ' ')// replace CR with space if you want to replave with nothing use ''

    chrw(15) is ascii character for carriage return if that does not work try chrw(12) which is line feed.

    Ian

    Add comment
    10|10000 characters needed characters exceeded

    • Have you tried to copy and paste text into word or note pad and see what happens. There could be other hidden characters which are causing text to display oddly.

      What is the whole text, how does it appear in crystal and how do you want it to appear

      Ian

  • Jul 07, 2017 at 06:27 PM

    That is a bug in the .NET viewer.

    Do you see it properly in CR Designer?

    Don

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 11, 2017 at 04:11 PM

    Try a different font, some have issues formatting due to legacy issues in usp10.dll.

    Don

    Add comment
    10|10000 characters needed characters exceeded