SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Hidden Column in Excel on Export


Hidden Column in Excel on Export

Author
Message
dbman
dbman
Say Hey Kid
Say Hey Kid (677 reputation)Say Hey Kid (677 reputation)Say Hey Kid (677 reputation)Say Hey Kid (677 reputation)Say Hey Kid (677 reputation)Say Hey Kid (677 reputation)Say Hey Kid (677 reputation)Say Hey Kid (677 reputation)

Group: General Forum Members
Points: 677 Visits: 1537
Hello,

I have created a new report in SSRS. The report has two tables.

The first table has columns

Sales Price, Difference, Commission, TotalClaim, DiffVat1, DiffVat2, DiffVat3,


The second table columns

AccNo, Customer PostCode, Ean Code, Prod desc, Pack, Invoice Num, InvoiceDate, PipCode


All of the First column tables are aligned with the second table up to the DiffVat31 and InvoiceDate.

Both tables are contained within a Rectangle.

When i export to excel cells A to H show and then I1 is hidden.

Column I appears to be blank. PipCode (Which is the second table) Column is then displayed in Column J.

Is there a way to prevent this from happening when designing the report. Or is there a way to prevent it on export.

I have attached a screenshot to show what is happening.

Regards
Attachments
image.png (19 views, 96.00 KB)
Scott Murray-240410
Scott Murray-240410
Ten Centuries
Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)

Group: General Forum Members
Points: 1011 Visits: 3143
When Exporting to Excel, the column "arrangements" also takes the headers and footer of the report into account. I would take a look at aligning or removing those into order for everything to line up.
Tee Time
Tee Time
Ten Centuries
Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)

Group: General Forum Members
Points: 1073 Visits: 465
Scott is correct. What I usually do with headers and footers is make sure they are the full width of the report. Assuming the headers and footers are ok, double check that the tables and all fields are in perfect alignment.

Have you tried removing the tables from the rectangles?
dbman
dbman
Say Hey Kid
Say Hey Kid (677 reputation)Say Hey Kid (677 reputation)Say Hey Kid (677 reputation)Say Hey Kid (677 reputation)Say Hey Kid (677 reputation)Say Hey Kid (677 reputation)Say Hey Kid (677 reputation)Say Hey Kid (677 reputation)

Group: General Forum Members
Points: 677 Visits: 1537
Hello,
I have solved this problem now. I used one table rather than two tables to use both datasets.

Regards
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search