抑制公式字段中的Crystal Reports错误 [英] Crystal Reports Error in Suppression Formula Field
问题描述
访问包含水晶报告的aspx页面时,我一直收到此错误:
I keep getting this error when accessing the aspx page containing the crystal report:
This field name is not known. Details: errorKind Error in File rptSp_Full {8FECA2B8-18D4-48F6-BC58-1FAE604A1140}.rpt: Error in formula Section_Visibility:
'({tSpeechArticulationReport.tAreaOfConcern}=''
and{tSpeechArticulationReport.tIsAwareCode}=''
and {tSpeechArticulationReport.tDistinguishCode}='') or ( isnull({tSpeechArticulationReport.tAreaOfConcern}) and isnull({tSpeechArticulationReport.tIsAwareCode}) and isnull({tSpeechArticulationReport.tDistinguishCode}))'
This field name is not known. Details: errorKind
我确定这是来自'抑制(没有深入研究) '包含tAreaOfConcern,tDistinguishCode和tIsAwareCode字段的部分的公式字段。此公式字段包含上面单引号中包含的确切代码。我已经尝试摆脱公式,编辑它,甚至禁用该部分的抑制,但我仍然得到同样的错误。任何帮助都将非常感激。
我在Visual Studio 2010中执行此操作
I determined that this was coming from the 'Suppress (No Drill-Down)' formula field for the section which contained the tAreaOfConcern, tDistinguishCode, and tIsAwareCode fields. This formula field contained the exact code wrapped in single quotes above. I've tried getting rid of the formula, editting it, and even disabling suppression for that section, but I still keep getting the same error. Any help would be much appreciated.
I'm doing this all in Visual Studio 2010
推荐答案
我发现了2个问题。
0)你不应该用单引号包装公式。
1)在和$ c $之后给出空格c>(第2行)
I found 2 problems.
0) You should not wrap the formula in single quotes.
1) Give space afterand
(2nd line)
这篇关于抑制公式字段中的Crystal Reports错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!