Solved

SSRS:  Fixed column length

Posted on 2014-03-12
2
994 Views
Last Modified: 2014-03-15
Hello:

I will be creating a SQL Reporting Services report and exporting the data to Excel.

I would like for columns in the report to have a fixed field length.  In other words, if column B should be only 10 characters in length, I'd like to be able to make it so.

Is that possible in SSRS?

TBSupport
0
Comment
Question by:TBSupport
2 Comments
 
LVL 1

Accepted Solution

by:
alqasem2 earned 500 total points
ID: 39923668
Make sure your Text box CanGrow property is set to true, the cell height will increase automatically to accommodate a long text.

The possible cause is merged cells exist on a row where a text box is rendered with the AutoSize property. If cells are merged, word-wrap and auto-height will not work correctly in exporting Excel. Since this is a limitation in Excel rendering, currently, I’m afraid we can only use non-merged cell in the row.
0
 
LVL 1

Author Comment

by:TBSupport
ID: 39924829
Thanks!

So, am I understanding then that it is possible to do through the Text Box "CanGrow" property?

Or, no?

TBSupport
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL 2008 R2 syntax 11 35
Job - date manual 1 35
stress test workstation for SQL 2016 for CPU-specific evaluation 3 22
SSRS Deployment to Web Error 1 6
Hi all, It is important and often overlooked to understand “Database properties”. Often we see questions about "log files" or "where is the database" and one of the easiest ways to get general information about your database is to use “Database p…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question