简体   繁体   English

RDLC VS2010 1)如何防止一个组分裂并保持一个组在一页上 2)防止空白页出现每隔一页

[英]RDLC VS2010 1) how to prevent a group from splitting and keep a group on one page 2) prevent blank pages appearing everyother page

For my RDLC report I am using a table, which have around 15 cells.对于我的 RDLC 报告,我使用了一个包含大约 15 个单元格的表格。 Each cell can vary in height.每个单元格的高度可以不同。 the data have been bind to a report class i have created.数据已绑定到我创建的报告 class。 When i run my query i can get about 1 to 15 tables in a report, i am having couple of issues with it,当我运行查询时,我可以在报告中获得大约 1 到 15 个表,但我遇到了几个问题,

first issue is, the data over flow in the table and ends up splitting up the table to a couple of pages.what i would like to see happen is the whole table gets moved to a new page rather than half of it.I tried grouping the table, set the options to true for "keep together" but nothing seems to work...第一个问题是,表格中的数据溢出并最终将表格分成几页。我希望看到的是整个表格被移动到一个新页面而不是其中的一半。我尝试分组表,将“保持在一起”的选项设置为true,但似乎没有任何效果......

my second issue is every other page is blank, i tried changing the margins but nothing seems to work.....我的第二个问题是所有其他页面都是空白的,我尝试更改页边距但似乎没有任何效果.....

any RDLC experts out there who can help????任何可以提供帮助的 RDLC 专家????

ADR ADR

This happens because size of the report and size of the report body does not match.发生这种情况是因为报告的大小和报告正文的大小不匹配。 To resolve this, click on blank space in the left side of the report and see properties.要解决此问题,请单击报告左侧的空白区域并查看属性。 If your report is 8.5 X 11 in and 1in margin both sides, than report body width shouldn't be more than 6.5 in.如果您的报告是 8.5 X 11 英寸和 1 英寸的边距,那么报告正文宽度不应超过 6.5 英寸。

try to put every table in a rectangle and put the keep together in the property of the rectangle keep the page in the prportaional maby you are sliding to the other page so you can fill the border尝试将每个表格放在一个矩形中,并将保持在一起的矩形的属性中保持页面的比例可能你正在滑动到另一个页面,这样你就可以填充边框

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

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