Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Services / Reporting Services / July 2008

Tip: Looking for answers? Try searching our database.

Formatting text field

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
joejoe851@gmail.com - 03 Jun 2008 16:49 GMT
I've created a report in SRS that displays the contents of a text
field in a SQL Server database, but it doesn't hold any of the line
breaks.  It comes as one big blob of a paragraph.  When I open the
screen that displays the information in our ERP system, it is all
nicely formatted.

How can I somehow get the formatting to show in this SRS report? Do I
scan the data in the field for char(10) and char(13) and force a break
somehow?  I am not sure how to go about doing this.

Any assistance is appreciated.  Thanks in advance.

-Joe
joejoe851@gmail.com - 02 Jul 2008 20:57 GMT
In case anyone else wants to know what happened...I finally figured it
out.

This is the expression I had to use to get RS to format it properly:

=REPLACE(First(Fields!TXTFIELD.Value, "DataSource1"), CHR(13), vbcrlf)

-Joe

On Jun 3, 10:49 am, joejoe...@gmail.com wrote:
> I've created a report in SRS that displays the contents of a text
> field in a SQL Server database, but it doesn't hold any of the line
[quoted text clipped - 9 lines]
>
> -Joe
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.