Groups | Blog | Home
all groups > sql server reporting services > october 2004 >

sql server reporting services : Whitespaces in Textbox



bill
10/12/2004 8:32:43 AM
I haven't been able to find any way to do this.

Other posts to this newsgroup have suggested that it can't be done.

It is a big problem for me.

-Bill

[quoted text, click to view]

Ponnurangam
10/12/2004 3:38:04 PM
Hi,

I have whitespaces in the first line of text in a textbox but Reporting
Services always trims the whitespace.

Does anyone know how to insert whitespaces in front of a text(It's similar
to Paragraph: First line start at 0.5cm in Word)

Ponnurangam

Gene Waldvogle
12/16/2004 1:07:07 PM
You might try using a non-proportional font, such as Courier or Courier New.
These fonts are made to take up a uniform amount of space no matter which
character you use, and many programs treat them differently than other fonts.
As an alternative, we have had success by using a character that essentially
has its high bit set on. For example, a space is normally the 32nd character
in the character set. By setting the high bit on, you are putting it at the
160th position (32 + 128). Many fonts map a non-break space to this
position. To enter from the keyboard, simply hold down the ALT key while
typing in the numeric value of the character you want. Try it in word with
different fonts to find one that doesn't have a displayable character but
produces a space. Reporting Services will then leave it in.

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