Line break in SSRS expression
Solution 1:
UseEnvironment.NewLine
instead of vbcrlf
Solution 2:
If your placeholder is in html enabled mode then "<br />"
will work as a newline
Solution 3:
This works for me:
(In Visual Studio)
- Open the .rdl file in Designer (right-click on file in Solution Explorer > View Designer)
- Right-click on the Textbox you are working with, choose Expression
-
In the
Set expression for: Value
box enter your expression like:="first line of text. Param1 value: " & Parameters!Param1.Value & Environment.NewLine() & "second line of text. Field value: " & Fields!Field1.Value & Environment.NewLine() & "third line of text."