【问题标题】:Crystal Reports IN-Statement水晶报表 IN-Statement
【发布时间】:2016-11-24 06:24:25
【问题描述】:

如何在水晶报表中使用这种条件?

SUPPRESS 内部条件

If {REP_AccountingCashFlow_Get;1.ReferenceIdentifier} IN (1, 5, 9, 10) THEN TRUE Suppress TRUE

我检查我的状况时的错误是The ) is missing

有人知道如何解决这个问题吗?或在Crystal Reports 中使用这种条件的正确方法?

【问题讨论】:

    标签: .net vb.net crystal-reports


    【解决方案1】:

    根据hereCrystal Reports 使用brackets[] 而不是parenthesis()

    所以很可能是...IN [1, 5, 9, 10]

    你的陈述应该是:

    {REP_AccountingCashFlow_Get;1.ReferenceIdentifier} IN [1, 5, 9, 10]
    

    您不再需要添加if condition,因为添加Suppress 的公式已被视为if statement,当符合您的条件时将抑制Crystal Report 中的对象。

    【讨论】:

    • 哦,它有效。所以改为使用( ),正确的是[ ] 谢谢。
    猜你喜欢
    • 2010-10-08
    • 1970-01-01
    • 2011-05-01
    • 1970-01-01
    • 1970-01-01
    • 2014-06-05
    • 2010-10-24
    • 2014-04-01
    相关资源
    最近更新 更多