无法使用C#抑制Crystal报表中的空白 [英] not able to suppress white space in crystal report using c#

查看:68
本文介绍了无法使用C#抑制Crystal报表中的空白的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个简单的报告,其中包含标题和详细信息部分中的所有数据.

例如:
-------------------------------------------------- -
推销员:ajay
适用区域:lko
-------------------------------------------------- ---
1个数据
2个数据
3个数据
4个数据


现在,如果我说我要为业务员"ajay"和所有区域提供报告
然后我取消标题值,报告就像
-------------------------------------------------- -
推销员:ajay


-------------------------------------------------- ---
1个数据
2个数据
3个数据
4个数据
5个数据
6个数据

但是它显示空白行代替区域
我想要一个看起来像
的报告 -------------------------------------------------- -
推销员:ajay
-------------------------------------------------- ---
1个数据
2个数据
3个数据
4个数据
5个数据
6个数据



请帮助我.

在此先感谢.

Pradeep

I had a simple report containing all data in header and details section.

Ex:
----------------------------------------------------
for salesman: ajay
for area: lko
-----------------------------------------------------
1 data
2 data
3 data
4 data


Now if i say that i want a report for salesman ''ajay'' and all area
then i suppress the header value and the report is like
----------------------------------------------------
for salesman: ajay


-----------------------------------------------------
1 data
2 data
3 data
4 data
5 data
6 data

But it is displaying a blank line in place of area
i want a report which should look like
----------------------------------------------------
for salesman: ajay
-----------------------------------------------------
1 data
2 data
3 data
4 data
5 data
6 data



Please help me in this.

Thanks in Advance.

Pradeep

推荐答案

我认为您可能已经尝试抑制标题的内容,试图抑制标题的整体,您可以通过右键单击来执行此操作标题,然后选择抑制(不向下钻取)"选项.您可以使用以下代码启用该部分:

< pre> partyWiseSalesReport.PageHeaderSection2.SectionFormat.EnableSuppress = false;</pre>
I think you might have tried to suppress the contents of the header,try to suppress the header as a whole,you can do this by right-clicking on the header and select ''Suppress(No DrillDown)'' option. You can enable the section using code like

<pre>partyWiseSalesReport.PageHeaderSection2.SectionFormat.EnableSuppress = false;</pre>


这篇关于无法使用C#抑制Crystal报表中的空白的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆