SSRS 2012, how keep multiple spaces (or tabs) on report header, they supressed to single space

  • I think it's happaned because of the way HTML works, I just want to keep let say space(10) or 5 tabs between my header and rundate which are on the same line and in the same textbox.

    I use single textbox for that becaue I have column groups and if I have several boxes I can ran into alignment problem, total width are total dynamic.

    I don't want to use expression either to follow oru standards for our site, I tried to use some & vbtab chars, but nothing works.

    And it's different rendering in my VS and on Server.

    I just need something like this on header from server ouput:

    |_______________Super Mega Report___________Run time: 05/12/2013 10:33am

    Tx

    mario

  • you'll have to find and replace with entities that html does recognize, i think

    SELECT

    REPLACE(

    REPLACE(

    REPLACE(' Super Mega Report Run time: 05/12/2013 10:33am'

    ,' ',' '),

    CHAR(9),'    ')

    CHAR(10),'

    ' + CHAR(10))

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • Thanks,

    I finished with char(160) aka hard space, which also can be produced by ALT+0160,

    Tx

    Mario

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply