Line break in SSRS expression

Jt2ouan picture Jt2ouan · Feb 28, 2014 · Viewed 122.3k times · Source

I'm having trouble adding a line break in SSRS 2008.

I've tried all of these different ways but nothing is doing it.

"+ chr(10) +" , "& chr(10) &" , "& chr(13) & chr(10) &" , "& vbcrlf &" , "+ vbcrlf +" , "Environment.NewLine"

Here's my textbox expression:

=IIF(First(Fields!VCHTYPE.Value, "Dataset1")="C","This is a huge paragrpah of text." +
vbcrlf + "separated by line feeds at each paragraph." +
vbcrlf + vbcrlf + "I want to separate the paragraphs." +
vbcrlf + vbcrlf + "Its not working though."
, "This is the second huge paragraph of text." +
vbcrlf + "separated by line feeds at each paragraph." +
vbcrlf + vbcrlf + "I want to separate the paragraphs." +
vbcrlf + vbcrlf + "Its not working though." )

Answer

John Verco picture John Verco · Feb 28, 2014

UseEnvironment.NewLine instead of vbcrlf