Groups | Blog | Home
all groups > sql server reporting services > august 2005 >

sql server reporting services : Linefeed Issue


Jim_OLAP
8/16/2005 12:47:02 PM
All,

Why does chr(13) +chr(10) create a new line feed in Visual Studio, but does
not when you render using IE with the HTML viewer?

Any ideas??

Jim
Robert Bruckner [MSFT]
8/16/2005 7:54:30 PM
Which build are you running?
Did you try using the predefined VB constant VbCrLf ?
E.g. ="First line" & VbCrLf & "second line"

-- Robert
This posting is provided "AS IS" with no warranties, and confers no rights.


[quoted text, click to view]

Jim_OLAP
8/17/2005 4:53:01 AM
Robert,

Thanks for the reply; Yes, I tried the Vb constant but I still get
inconsistent line feeds in IE. As a solution, I had to make each line the
same character length using a combination of left() and format().

Thanks,

Jim


[quoted text, click to view]
AddThis Social Bookmark Button