【问题标题】:Crystal report using C#使用 C# 的水晶报表
【发布时间】:2013-12-25 13:26:16
【问题描述】:

我是水晶报表的初学者,并在水晶报表中创建应用程序

下面的示例框对象

-----------------------
|Name | column1       |
|---------------------|
|text | column2       |
|---------------------|
|Remark| column3      |
----------------------

注意:column4 包含真假

如果 cloumn4 为 true 表示 Box 应该可见 false 表示不可见

带有样本数据的表格

col1 | col2| col3 | col4
-------------------------
abc  |abc  |abc   |true
def  |def  |def   |false
xyz  |xyz  |xyz   |false
xyz  |xyz  |xyz   |true

我想像这样打印

box1             (invisible)
(invisible)     box4

谢谢

【问题讨论】:

    标签: crystal-reports


    【解决方案1】:

    在水晶报表中,您可以使用抑制使对象不可见

    Format Field -> Common -> suppress Button
    

    您可以在抑制公式中使用此示例:

    if col4 = true then false else true;
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-11-09
      • 2012-04-27
      • 1970-01-01
      • 1970-01-01
      • 2010-10-08
      • 1970-01-01
      • 2017-06-29
      相关资源
      最近更新 更多