简体   繁体   English

Crystal Report每个页面只显示一行

[英]Crystal Report Displaying only one row in each page

I am using Crystal Reports with Visual Studio 2012. I am totally new to crystal reports. 我在Visual Studio 2012中使用Crystal Reports。我对水晶报告完全不熟悉。 I just added my data fields to the details section, but instead of showing all the rows in one page, a new page is created for each row. 我刚刚将我的数据字段添加到详细信息部分,但不是在一个页面中显示所有行,而是为每一行创建一个新页面。 I did not use any grouping or change the section paging settings. 我没有使用任何分组或更改部分分页设置。

Even i checked the section expert for new page after & before, its uncheked. 即使我在之前和之后检查了部分专家的新页面,也没有检查过。 I also checked Keep Together, its checked. 我还检查了Keep Together,检查了它。

I have added the data in details section and i have only one details section. 我在详细信息部分添加了数据,我只有一个详细信息部分。

I have attached a screen shot my crystal report design view 我附上了一个屏幕截图我的水晶报表设计视图

Guys please help me... I am stuck with this 伙计们请帮助我...我坚持这个

![Report Preview][1] http://imageshack.us/photo/my-images/201/reportay.jpg/ ![报告预览] [1] http://imageshack.us/photo/my-images/201/reportay.jpg/

![Report Design Mode][2] http://imageshack.us/photo/my-images/26/reportdesign.jpg/ ![报告设计模式] [2] http://imageshack.us/photo/my-images/26/reportdesign.jpg/

Thank You In advance 先感谢您

You have to reduce the whitespace in the details area [at Design Mode]. 您必须在[详细设计模式]中减少详细信息区域中的空白。
Every row gets the height of the details area, so that area should only be one row high. 每一行都获得细节区域的高度,因此该区域应该只有一行高。 Crystal报告设计视图,重点是细节部分行高。

Edit: Make the report footer the same as the details section, but without any data fields. 编辑:使报表页脚与详细信息部分相同,但不包含任何数据字段。 This way the report will be filled from end of data to beginning of page footer if (when) the datarows does not fill up the last page. 这样,如果(当)数据行没有填满最后一页时,报告将从数据结尾填充到页脚的开头。

Make sure that you are using Details Section to display all those rows. 确保使用“详细信息”部分显示所有这些行。 Because if u happen to use page header or report header, the rows wont grow. 因为如果您碰巧使用页眉或报表标题,则行不会增长。
If you are sure that you have reduced the white space in design view, then check with the "New Page Before" or "New Page After" options in Section Expert. 如果您确定在设计视图中减少了空白区域,请使用“部分专家”中的“新页面之前”或“之后的新页面”选项进行检查。

Please try all these and get back with the results you get. 请尝试所有这些并获得您获得的结果。 Waiting to help you ! 等着帮你!

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

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