Multi line HTML data formatting on SSRS reprot

Hi
I am  using SQL Server Reporting Services 2008 , data fetching by Project server database,data value is getting by multi line rich text field.
when showing same data in HTML format
on ssrs reports its shows every style what ever user copy and paste on particular field like font size ,colors and them.
I have requirement to show unique font size and unique family font,I am unable to achieve this using lot of placeholder properties.
below u can find the example
Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Sharepoint and EPM Consultant,TCS
|
| Twitter

Hi Hasan,
According to your description that the some of the report data retrieved by multi line rich text field, which style show differently in the report, you have tried to create the placeholder using the HTML tag to format the data
but failed to achieve, right?
The issue due to the rich text formatting is not supported in SSRS 2008, Currently, you have mentioned that you tried to using the HTML tag to reformat the text but failed, that may due to Reporting Services support limit HTML tags when defined as placeholder
text. Please see:
• Hyperlinks: <A href>
• Fonts: <FONT>
• Header, style and block elements: <H{n}>, <DIV>, <SPAN>,<P>, <DIV>, <LI>, <HN>
• Text format: <B>, <I>, <U>, <S>
• List handling: <OL>, <UL>, <LI>
In your scenario, I recommend you to take reference of method below to get the unique format text.
Check the supported HTML tag and using the correct tag to format
If you want to get the RTF format:
If using Report Viewer Windows control, we can render the RTF file into IMG file, and then display the image on the report.
Nayan Patel written good artilce about this:
http://binaryworld.net/Main/CodeDetail.aspx?CodeId=4049
This article give us the idea to convert RTF to image and then display on the report.
You can also convert the RTF text to the plain text which by default in the report:
Article have details method about the convert for your reference:
http://stackoverflow.com/questions/2987501/rtf-to-text-in-sql-server
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/0f70e01f-6315-400c-bc75-c7da5f324062/displaying-rtf-text-in-a-ssrs-2008-report?forum=sqlreportingservices
Similar threads for your reference:
RTF in SSRS - SQL 2008 R2
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/0f70e01f-6315-400c-bc75-c7da5f324062/displaying-rtf-text-in-a-ssrs-2008-report?forum=sqlreportingservices
Personally, I recommend you that submit this suggestion at 
https://connect.microsoft.com/SQLServer/. If the suggestion mentioned by customers for many times, the product team may consider to add the feature in the next release of SQL Server. Your feedback is valuable for us to improve our products and increase
the level of service provided.
Thanks for your understanding.
Regards
Vicky Liu

Similar Messages

  • En-CA Language has incorrect Date Format in SSRS report

    When I set the Language on a Report to "en-CA", then dates are formatted as dd/mm/yyyy.
    This differs from the OS default format of yyyy-mm-dd for en-CA.
    Is there any way to tweak the date format for a specific Language in SSRS?
    Please don't say I need to add Format() calls to all of the dates in the reports...  What I want to do is just give SSRS the correct date format for "en-CA" and let it do the work of formatting automatically.
    [url=http://www.spritehand.com]www.spritehand.com[/url] | [url=http://www.andybeaulieu.com]www.andybeaulieu.com[/url]

    Hi Andy,
    In Reporting Services, by default, formats for date are determined by the report server language at run time. The report server language is the language of the operating system on which the report server is installed. This language is determined by the regional
    settings of the computer.
    Generally, the report server language supports for all ten of the SQL Server languages. But the en-CA language is not supported by SQL Server. In this way, the report server uses the mostly closely matched language of the operating system as the language.
    For example, the operating system is Canada English. Because Canada English and U.S. English are in the same language family, it chooses the SQL Server language resource that most closely matches Canada English (in this case U.S. English). So the date format
    uses en-US format.
    Reference:
    http://msdn.microsoft.com/en-us/library/ms156493.aspx
    Thank you for your understanding.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Line Graph date format

    Hi,
    I Created line graph
    x axis date
    y axis amount
    The date format is not showing correctly
    For Ex : date range : 01-Jan-2011 to 10-jan-2011
    in graph x - axis firsi date is showing 01-Jan-2011 and remaining dtaes are showing only days like 02 03 04
    how i will get like these 01-Jan-2011 02-jan-2011 03-jan-2011 ......10-jan-2011
    Please help
    shk

    Hi,
    Replace the column formula of your date column as ,
    cast(MONTHNAME(YourDateColumn) as varchar(10))||' '||cast(YEAR(YourDateColumn) as varchar(10))
    Rgds,
    Dpka

  • Line Chart - date format

    Hi,
    i have some troubles with a "normal" line-chart. (graphType="LINE_VERT_ABS")
    The data is something like that:
    xvalue           yvalue
    01.01.2006     100
    02.01.2006     101
    03.01.2006     102
    04.01.2006     101
    01.02.2006     102
    02.02.2006     102
    03.02.2006     101
    01.03.2006     100
    02.03.2006     99
    03.03.2006     101
    I define the chart with:
    groups="xvalue" dataValues="yvalue"
    worked fine, BUT:
    I had to change the date-format from dd.mm.yyyy to "only" mm/yy.
    Now just 1 yvalue of every xvalue-group is displayed - the chart has only the following points:
    xvalue          yvalue
    01/06          100
    02/06          102
    03/06          100
    Does anybody know a solution where every point is shown just with the other date-format?

    Change your default system date format.

  • How to get the HTML data formatted display using the Rrt template

    hi,
    I have a table which has data with html tags in it.
    eg as shown below.
    sample text is as follows:
    <BR>
    <b>MY TEST HERE HAS SOME BOLD TEXT IN IT. THIS WHOLE LINE SHOULD BE BOLD</b><br>and the rest of the text will not be bold.
    <BR><br>
    now I want to be able to display this text with the proper format using BI publisher / rt template.
    my report shows the tags as is instead of being formatted.
    please let me know how i can fix this
    Thanks
    knut

    http://blogs.oracle.com/xmlpublisher/2007/01/02.

  • SQL*Loader: How to load multi-line report data?

    Hi,
    is it possible to use SQL*Loader to load data from a hierarchical structured fixed column ASCII file like this
    001 scott
    New York 01.01.2002 1234
    Chicago 15.10.2001 9876
    002 smith
    Los Angeles 24.12.1999 5678
    Washington 01.12.1999 0000
    Chicago 01.01.2000 1111
    into one database table:
    id name city day code
    001 scott New York 01.01.2002 1234
    001 scott Chicago 15.10.2001 9876
    002 smith Los Angeles 24.12.1999 5678
    002 smith Washington 01.12.1999 0000
    002 smith Chicago 01.01.2000 1111
    The number of lines per name is unlimited, the next line starts after a separating ---- line.
    We cannot change the format of the text file to import.
    There is an example in the documentation that shows how to load a structure like the following via insert triggers:
    001 scott New York 01.01.2002 1234
    Chicago 15.10.2001 9876
    002 smith Los Angeles 24.12.1999 5678
    Washington 01.12.1999 0000
    Chicago 01.01.2000 1111
    But we have the name information on a separate header line, so I don't know if we can use a similar technique here.
    regards
    Sven

    Try enclosing your strings with e.g. a double-quote. To do so, the control file needs the following (example):
    LOAD DATA
    REPLACE
    INTO TABLE test          
    FIELDS TERMINATED BY '|' OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    id1,
    id2,
    id3,
    id4,
    )of course this does mean that your data must change...
    L.

  • Static Data Formatting in SSRS VS2010

    Hello - I hope you guys are having a wonderful day so far!!
    I am using a SQL Server 2012 with VS 2010. In my SSRS report, I have a SP based data set. On top of what the report pulls based on user entered parameters, I want 6 rows of additional static data to be included in the report. So, at the bottom of the report
    I created 6 static fields and manually entered all the hard coded values. Please mind that these static values repeat every month. So far works great. My challenge is to format the amount field. Although, I was able to change the text box properties and formatted
    the values as 'Currency' but it does not come across currency when a report is rendered. In addition to that I have a ID field which increments by number based on # of rows. Last 6 rows of static data do not have IDs in front of them. Similarly, the user entered
    parameters 'Start Date' and 'End Date' are also not populated for those static rows. So, how is it possible to assign IDs, user entered parameter values and values formatting in the static rows? I am wondering if any solutions applying expressions are available
    or even possible? Gurus, please suggest. Thank you again!
    SJ
    Sanjeev Jha

    Hi SQLTurtleReally,
    According to your description, you want to sum the values in the appended static row and the total value of detail rows. Also you have a column to show the row numbers and include those static rows. Right?
    In Reporting Services, when we use build-in Aggregation function, it only works within a scope, this scope can be Group, data region or DataSet. In this scenario, even the static rows are in the tablix, it has nothing to do with the detail rows, they are
    not in a same scope. So the RowNumber() and Sum() function can never include the values in those static rows. For your requirement, the most effective workaround is add these hard code values into database as records so that they will be in same DataSet with
    the detail rows.
    Reference:
    Aggregate Functions Reference (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Additional results doesn't work with multi-line string dat

    I observed an erratic behavior with "Additional Results" in TestStand 2010. The problem statement is as follows:
    1. I have a variable "Locals.FirstName"
    2. I have another variable "Locals.LastName"
    3. Concatenate these two strings with a line feed or a new line character (Locals.FirstName+"\n"+Locals.LastName) and display it in a XML report. 
    Approach:
    1. Using "Statement Expression" I concatenate two strings and print the result using "Additional Results"
    2. For verification I display it using "Message Popup" step type. The formatting is as desired in "Message Popup". However, the new line characters appear as "Spaces" in XML report.
    Tracing Of this Erratic Behavior:
    1. I passed the concatenated string to LabVIEW VI and passed it to "Step.Result.ReportText" variable to log it in XML report. The same string which didn't appeared properly using “Additional Results"of "Statement Expression” step now appears proper in XML report.
    I have attached the sequence file for reference. Ensure that Report option is set to XML before executing this sequence.
    Can anyone justify this behavior and suggest the correct approach??
    Thanks !
    Attachments:
    Erratic Behavior Of Additional Results.seq ‏8 KB
    Tracing Of Erratic Behavior.vi ‏9 KB

    Amit -
    Here is a modified version of the TestStand 2010 Horizontal.xsl style sheet that corrects the issue you have mentioned. Note that leading and trailing "\n" characters will still be stripped out, and all "\r" characters will be stripped out.
    Hope this helps.
    Manooch H.
    National Instruments
    Attachments:
    horizontal_modified.zip ‏22 KB

  • How to Process a Multi-Line Form

    Hi:
    I've created a pl/sql portlet that displays a multi-line html form. The desired functionality is: user enters data into one or more lines, clicks a button, and all lines get inserted. Currently, to perform the insert I have a Javascript function that cycles through each line of the html form then uses the window.open function to call a url (that is a pl/sql procedure). The window is opened once for each inserted record.
    Does anyone know of a better way of doing this? I'd like to run the procedure without opening a window, but I don't know how.
    Thanks for any suggestions.

    hi Christ,
    let me understand what you are trying to do first. it appears to me that you may be trying to do one of the following two things:
    1. you may have more than one field and the user may enter one or all of those fields. and then press the submit button to enter/ insert the data in some table.
    2. or you have more just one field with a data value which is large enough to span over several lines. in that case you have one field with larger data value. and when a user enters a value for such a field and press submit then you want it to be entered into the table.
    a. in any case, it would be much simpler if you develop a portal form based on procedure. there you will need to create just a regular form based on a procedure in which you should put just insert statement for the data to be entered into that certain table.
    b. you can still do it with you customized form where you may create a form from an embedded html in the pl/sql. if you really wanna do it then there is a simple way to do that too but not simpler than the portal form technique.
    now this is all if i understood your little description correctly. let me know if your problem is different. please be specific in your description, if you choose so.
    syed

  • Can't see HTML and Custom text format under data format tab in obiee.

    Hi,
    I want to add a java script to my report but I can't see HTML/Custom text format option under Data Format Tab--->"Treat Text as" menu.
    My report is a union report.
    For data column and numeric columns i can see custom option available but for text columns it is not visisble.
    Any idea why it is not showing and what should be done here.
    Any pointers are welcome.
    Please help,it is really urgent.
    Thank in advance!
    Edited by: 810008 on May 18, 2011 10:03 PM

    Hi,
    Select text column (varchar column) -> Treat Text as -> custom text format ->Remove @ (default) -> add [html]<script>sometext(‘@’)</script> followed by your javascript
    for eg:
    [html]<script>buildGoogleChart(‘@’)</script> <head> <script type="text/javascript"> function show_alert() { alert("Hello! I am an alert box!"); } </script> </head> <body> <input type="button" onclick="show_alert()" value="Show alert box" /> </body> </html>
    hope helps u.........
    cheers,
    Aravind

  • Line graph date sorting and formatting

    Hi Gurus
    We've recently upgraded to 11.1.1.7 and noticed that our Publisher line charts with date on the x-axis are no longer sorting correctly i.e. May comes before March. The reason for this is because in <11.1.1.7 we have a formatted date mask (to_char) in our data model but sorted by the underlying canonical date which worked. Now in 11.1.1.7 it is no longer sorting by the data model sort but by the formatted date string therefore numeric values of 30 April sorted after 1 May.
    We have tried a number of options to resolve:
    1. using the canonical date and sorting on that corrects the sort problem but the default formatting used in long YYYY-MM-DDT00:00:00-00:00 and not readable as our chart is showing daily totals. Changing to time-series chart can allow you to format the date but see problem 2 next...
    2. Time series = yes doesn't display the chart if we have a number of entities in our series i.e. multiple lines and the interactive viewer shows a red error icon. I think this may be due to the fact that our date range is not continuous ie we have a sparse data set.
    3. Workaround we used was a bar chart (our users preference is line charts) with time series = false but the date format is still long.
    Any advice / suggestions would be helpful.
    Thanks
    Nick.

    for #1: numbers does what is called a "stable" sort. Meaning that the previous sort order is preserved. i.e. do your sort in reverse order. Amount, then name, then date. Just did it with sample data and it was perfect. It keeps them in the original order, so if there is a match in name after you sort, you should see the amount still in the proper order.
    #2: What in your formula isnt working? I just made a formula that did math on the columns to the left, sorted and it worked. Sorted by static data columns and the formula column. I know it was broken originally, years ago, but it seems to be working correctly now, at least in my quick test. You might have an issue if you are using formulas that refer to data on other rows or tables.
    #3: yeah formatting can be a pain. But it is easier to do in the desktop program. No, you cannot get it for windows, sorry. If the formatting the only thing you need to do on the desktop side, then i dont see much tying you to it. I do 90% or more on the ipad and iphone now.
    Jason

  • Hello All. I am working on a form, but I need to format the leading in a multi-line text-field.

    Hello All. I am working on a form, but I need to format the leading in a multi-line text-field. The options for the text-field only show a font size option, but no other styling options. Is there a way to format the leading? Thanks!

    Not within ID, and I'm not sure it can be done in Acrobat afterward either.

  • How to convert from line chart data to CSV format

    Hi ,
    I am using Flex 3 and AS.
    I am getting data from MS SQL and display the data as line
    chart this is ok.
    But i want to convert this line chart data to CSV or .xsl
    format.I find one example in fourms the from data grid to CSV
    For this URL is
    http://www.abdulqabiz.com/blog/archives/flash_and_actionscript/datagriddataexporter.php
    But i want Line chart to CSV.Please help me.

    Line chart is a just a visual representation of some data
    that's sitting in your database. Isn't it? You load this in Flex,
    probably using HTTPService class, and pass it to some chart object.
    Now when use says that she needs it in CSV format, you're
    gonna have to send another request to the server to produce the
    same data, convert into CSV or XLS format and let user download it.
    Of course, if use doesn't want to download, you don't have to
    go to the server, at least for CSV format. You can convert the same
    data that used plot the chart to convert to CSV.
    Am I missing something here?
    ATTA

  • Change of date format to MM/DD/YYYY in ITS web HTML screen.

    Hi all
    I am facing problem in displaying date field on the HTML for the data coming from SAP back end.
    Earlier my screen was also showing the date in the format MM/DD/YYYY but suddenly it started showing date in the format DD.MM.YYYY. I have not changed any code on the front end HTML side.
    At sap back end the FM is returning the date in the format MM/DD/YYYY and same data i have to display on the HTML screen.
    But it is not showing the data as in the back end format.
    Please help me in resolving this issue. as it is bit Urgent.
    Thanks
    Ekta

    Hi Tobias,
    Thanks for the reply. I will see to your suggestion. Because the Custom login Id created for login to the service, needs to be checked whether the date format for that user may not be of the type DD/MM/YYYY.
    Thanks a lot. I will let you know about it after checking.
    Thanks & Regards
    Ekta

  • Saving an array of multi-line text cells in a format that can be read in later

    I can create an array of multi-line text entries that my program can then pick cells and compile them into a list of text.
    I would like to be able to Save the array as a file, then change my program to read in the file.
    If I use the Save Spreadsheet file vi, the data is corrupted by the carriage returns within the cells and the data read in is messed up.
    Can someone recommend a way to save the array that preserves the carriage returns?

    As far as I know, this cannot be done automatically with the basic VIs from the palletes.  I would convert the [LF] into another group of characters (likely "\n") and then save the text array to a CSV file.  Don't forget to escape any good "\" string with an extra "\.  Regular expressions would work really well:
    Just make sure you parse your entire array of strings with this.
    Olivier
    Attachments:
    SaveToCSV_WithMultiLine.vi ‏9 KB

Maybe you are looking for

  • I can't get sound from headphones

    I have tried everything.  Headphones don't work.

  • GPS still active after turning it off

    The gps works good, few seconds to fix the location but when I turn it off the gps still runs in background eating the juice... The toggle is turned off but if I check the battery life I always see the gps alive! How to solve, except rebboting the ph

  • What is the use of # in DAL script ?

    Hi Guys, In DAL script what is the use of # ? When I am not putting # the keywords are looking blue (Which I think its correct) but in the Help it mentioned with #. If I am putting # in the code then it became grey colour. Which one is the correct ?

  • 10.6.8 not available in edit your profile?

    When will 10.6.8 be available in the list to update your profile? In the past after each update, a day later, the newest version was in the drop down list. So everyone who has installed 10.6.8 is still listed as having only 10.6.7.

  • Can Select, Cannot update!!?

    Hey dear guys, I can use : select * from orders where orderkey='0000000001'; but cannot : update orders set status ='0' where orderkey='0000000001'; it tell me no row updated..? please help: [email protected]