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'
JimWhich 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.
"Jim_OLAP" <JimOLAP@.discussions.microsoft.com> wrote in message
news:0EF1FE67-E355-49B6-BB08-18C247E7E321@.microsoft.com...
> 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,
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
"Robert Bruckner [MSFT]" wrote:
> 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.
>
> "Jim_OLAP" <JimOLAP@.discussions.microsoft.com> wrote in message
> news:0EF1FE67-E355-49B6-BB08-18C247E7E321@.microsoft.com...
> > 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
> >
>
>
Showing posts with label render. Show all posts
Showing posts with label render. Show all posts
Wednesday, March 21, 2012
Monday, March 19, 2012
Line delimiter.
Hi all.
I have some problem. String is kept in format "aaaa\r\nbbbb\r\nc\tcc" in database
When i trying to render a report(RS 2000) i take this result
textbox :
aaaa\r\nbbbb\r\nc\tcc ,but i want
textbox:
aaaa
bbbb
c cc
Can you help me?
You could write a custom renderer on your own (sounds harder than it really is :-) ) Passing the data to managed code and letting the code to produce & vbclrf & for line feeds.HTH, Jens Suessmeyer.
http://www.sqlserver2005.de|||
Hi All
I've found simple way to realize this feature. It turned out, that RS dont understand C# delimiter but understand VB delimiters .
I've written custom code for impleting this thing
Function ConvertString(ByVal value As String) As String
value = value.Replace("\n", vbCr)
value = value.Replace("\r", vbLf)
value = value.Replace("\t", " ")
Return value
End Function
Thats actually what I ment :-D
-Jens.
|||Thanks ;=)Friday, February 24, 2012
Limitation of updating views
Are there any limitations that can render a view "un-updatable"?There are a lot of restrictions, look for 'updatable view' in Books Online and you can find the limitations of updatable views
Subscribe to:
Posts (Atom)