如果第二行fieldobjects中的所有值都为null,那么如何垂直缩小细节部分。 [英] How do you vertically shrink detail section if all the values in a 2nd row of fieldobjects are null.

查看:94
本文介绍了如果第二行fieldobjects中的所有值都为null,那么如何垂直缩小细节部分。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在visual studio 2005中使用了水晶。我在报告的详细信息部分中有2行字段对象。如果对于给定的记录,第二行中没有值,我不希望第二行打印空白但是要使空间垂直"缩小"。这样就会有很多空白行导致报告更长。提前感谢任何建议。

Im using crystal in visual studio 2005.  I have 2 rows of field objects in the detail section of a report. If for a given record there are no values in the 2nd row I dont want the 2nd row to print blank but to have the space vertically "shrink" up so that there arnt a lot of blank rows causing the report to be longer.  thanks in advance for any suggestions.

推荐答案

我认为最简单的方法是在第一行字段对象下面创建一个详细信息部分并将第二行字段对象移动到该详细信息部分。然后进入第二个详细信息部分的"部分专家",然后单击"抑制空白部分"。选项。例如,您有:

Hi, I think the easiest way to do this is to create a detail section below your first row of field objects and that move the second row of field objects into that details section. Then go into the Section Expert on the second details section and click the "Suppress Blank Section" option.  So for example, you have:

详细信息a:Field1 Field2 Field3

Details a :       Field1   Field2  Field3

详细信息b:Field4 Field5 Field6(当您取消空白部分时,打印报告时不会出现空行。)

Details b:      Field4   Field5   Field6  (When you suppress the blank section, this blank row will not appear when you print the report)

希望这有帮助


这篇关于如果第二行fieldobjects中的所有值都为null,那么如何垂直缩小细节部分。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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