Crystal reports 用C语言编写水晶报表#

Crystal reports 用C语言编写水晶报表#,crystal-reports,Crystal Reports,我是crystal report的初学者,在该领域创建crystal Reports应用程序 下面的示例框对象 ----------------------- |Name | column1 | |---------------------| |text | column2 | |---------------------| |Remark| column3 | ---------------------- 注意:第4列包含true或false 如果cloum

我是crystal report的初学者,在该领域创建crystal Reports应用程序

下面的示例框对象

-----------------------
|Name | column1       |
|---------------------|
|text | column2       |
|---------------------|
|Remark| column3      |
----------------------
注意:第4列包含true或false

如果cloumn4为true,则表示框应可见。如果为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 report中,您可以使用“抑制”使对象不可见

Format Field -> Common -> suppress Button
您可以在抑制公式中使用此示例:

if col4 = true then false else true;