简体   繁体   English

从Excel导出中删除列

[英]Remove column from Excel export

In Crystal Reports 2008, I can see there are 14 columns in the report (column titles are in the Page Header) but, when I do an Excel Export (Microsoft Excel (97-2003) Data-Only), there are 51 columns. 在Crystal Reports 2008中,我可以看到报表中有14列(列标题位于页面页眉中),但是当我执行Excel导出(Microsoft Excel(97-2003)仅数据)时,共有51列。 All 14 columns I can see in Crystal Reports are included. 包括我在Crystal Reports中可以看到的所有14列。

But, I cannot see where all the additional columns in the Excel are being specified in Crystal. 但是,我看不到在Crystal中指定Excel中所有其他列的位置。

I need to remove one of the columns in the Excel Export as it is not required. 我不需要删除Excel导出中的列之一。

I removed the view, which is used for this column, from Database Expert. 我从数据库专家中删除了用于本专栏的视图。 But, the column heading still appears in the Excel Export. 但是,列标题仍显示在Excel导出中。 Once the view was removed, the data becomes mismatched. 删除视图后,数据将不匹配。

I was able to remove the column by deleting it from "Report Explorer". 我可以通过从“报表资源管理器”中删除该列来删除它。

All the columns were being used in the Page Header, they just weren't all visible. 页面标题中使用了所有列,但并非全部可见。

By switching from Field Explorer to Report Explorer (bottom right corner) I was able to view and delete any of the additional columns in the Excel. 通过从字段资源管理器切换到报表资源管理器(右下角),我可以查看和删除Excel中的任何其他列。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM