Wednesday, March 7, 2012

Hanging Indent

This one is probably very simple, but I'm not sure. I am using SSRS 2005, and I already have a custom assembly being used in the report, but I'm hoping I won't have to use it for this.

In a table, a list of company names is being returned in a single column. Some of them are pretty long, so they wrap to the next line. If this happens I would to indent the next line. So, it should look like the following:

Company Name
Company A
Company B with a
really long name
Company C

Anybody know an easy way to do this?

The only I can think of to meet this requirement is handling this programmatically, e.g. by checking the field value length and breaking the text if exceeds the required width with vbCrLf concatenated with some padding and the remainder.

No comments:

Post a Comment