简体   繁体   English

可以增加无法在Crystal Report中使用的现场对象

[英]can grow field object not working in crystal report

I am working with crystal report in visual studio , the report contains data from the data base . 我正在Visual Studio中使用Crystal报表,该报表包含数据库中的数据。 the Problem is that the field object height in the report it is fine for short text length but for long text some characters that exceed the field object height will be hidden. 问题是报告中的字段对象高度对于较短的文本长度是可以的,但对于较长的文本,某些超出字段对象高度的字符将被隐藏。 I have been used can grow property by checking it in the format object window but it didn't work the section height didn't increase automatically to wrap all text . 我曾经可以通过在格式对象窗口中检查它来增加属性,但是它没有起作用,断面的高度没有自动增加来包装所有文本。

please how can i solve this problem ? 请问我该如何解决这个问题? any help would be appreciated thanks in advance 任何帮助将不胜感激在此先感谢

In crystal reports, create a new formula. 在水晶报表中,创建一个新公式。 (it can be done by right-mouse clicking on Formular Fields in the "Field Explorer". In this formula field, drag and drop the notes field so the formula would look something like this {Command.Notes} or {TableName.Notes}. Then back in your report, right mouse click in the Details section and select Insert --> Text Object. Then drag and drop that newly created Formula field into the newly created blank text object. (可以通过右键单击“字段资源管理器”中的“公式字段”来完成。在此公式字段中,拖放注释字段,这样公式将类似于{Command.Notes}或{TableName.Notes}然后,在报表中,右键单击“详细信息”部分,然后选择“插入->文本对象”,然后将新创建的“公式”字段拖放到新创建的空白文本对象中。

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

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