Sol Web Solutions Blog
Sol Web Solutions Blog is aimed to help, inform, educate and enable our site visitors.
Add spacing in SSRS 2008 expression
I had a requirement to add some spacing after a prefix of a textbox to align with a row below it and make the report more visually appealing. I tried the space() function within my expression, and that didn't work.
Here's what I did to resolve our scenario:
1. Left Double click the textbox that will hold this value/expression
2. Right click the textbox area and select "Create Placeholder" from the flyout menu option
3. In the "Placeholder Properties" pop-up modal, make sure to select
"HTML - Interpret HTML tags as styles" when in the "General" section
4. When creating the expression, I used the following for my padding:
& " " , "") & Fields!comment.Value
In my scenario, if the type was "Issues", then I needed to put:
a prefix of "Issue:" + spacing + my comment field