How do I enter a line break (or other non-text characters usually solved with escape characters) in a StringVar in Crystal Reports?
Wanted output:
line 1
line 2
I've tried StringVar s := "line 1 \n line 2";
, but that does not work.
How do I enter a line break (or other non-text characters usually solved with escape characters) in a StringVar in Crystal Reports?
Wanted output:
line 1
line 2
I've tried StringVar s := "line 1 \n line 2";
, but that does not work.
It may not be much of an improvement, but you could build a string-formatting, custom function:
This would offer you some extensibility should you need to support additional escape sequences.
I've found a functional, albeit not code aesthetical, solution:
i have simply used following code for line break
"This formula field " + ChrW(13) + " contains a line break!"