C# 无法使用新的数据集列crystal语法

C# 无法使用新的数据集列crystal语法,c#,crystal-reports,C#,Crystal Reports,我在Visual Studio 2010 Ultimate中使用Crystal Reports 13 下面是Crystal Report的一个片段,它使用Crystal语法公式工作: if {covDataSetTable.passFail1} = true then b := a + "<b>Passed</b>" else b := a + "<b>Failed</b>"; 现在Crystal报告公式中有错误。它希望第一行中有

我在Visual Studio 2010 Ultimate中使用Crystal Reports 13

下面是Crystal Report的一个片段,它使用Crystal语法公式工作:

if {covDataSetTable.passFail1} = true then
    b := a + "<b>Passed</b>"
else
    b := a + "<b>Failed</b>";
现在Crystal报告公式中有错误。它希望第一行中有一个字符串而不是true:

if {covDataSetTable.passFail1s2} = true then

为什么呢?如何解决?

什么是{covDataSetTable.passFail1s2}@Siva的数据类型:我如何设置数据集列的数据类型?我不知道C刚刚有过Crystal reports方面的经验。。我猜是数据类型不匹配。@Siva:我是这个领域的新手-在VS中操纵水晶报告。@Siva:在属性中找到了它。
if {covDataSetTable.passFail1s2} = true then