简体   繁体   English

将文字换成水晶,这样就不会在Excel中添加多余的行

[英]Wrapping text in crystal so that it does not add extra row in excel

I have a field in crystal reports that has a lot of text. 我在Crystal报表中有一个字段,其中包含很多文本。 For that I went into Format editor and allowed wrapping of text for that field. 为此,我进入了格式编辑器,并允许该字段的文本换行。 Now when I export my report in pdf, it looks fine, but when I export it to excel it adds an extra row below a record that has more text in that field. 现在,当我以pdf格式导出报告时,它看起来不错,但是当我将其导出为ex​​cel时,它将在该字段下具有更多文本的记录下方添加一行。 How can I make it so that it does not add a extra row, but wraps the text in single cell only. 我如何做到这一点,使其不增加多余的行,而仅将文本包装在单个单元格中。

I have the same problem with extra rows and columns in my Crystal Reports exports. 在Crystal Reports导出中,额外的行和列存在相同的问题。 From what I can tell from my searching that it is caused by fields not lining up or being different sizes. 从我的搜索可以看出,这是由于字段未排列或大小不同而引起的。 You might be able to fix your issue by making all your fields in the row larger so they are the same height as the field with the large amount of text. 通过使行中的所有字段变大,使其与具有大量文本的字段相同的高度,也许可以解决您的问题。

See this page: Blank columns appear when exporting to Excel. 参见本页: 导出到Excel时出现空白列。

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

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