我试图在我的水晶报告中使用以下公式过滤数据库中的数据,其中一个条件是包含数据,即使这样,'{vw_CandidateProfile.Type}'为空或空字符串.但是下面的公式不起作用.有任何想法吗?
{vw_CandidateProfile.Candidate_Code} = '881225095228'
AND (
{vw_CandidateProfile.Type} IN ['NGO','EDU','PRS','PPR','PPS','TTL','OTH']
OR ISNULL({vw_CandidateProfile.Type})
)
Run Code Online (Sandbox Code Playgroud)
我找到了IsNull()字段必须在没有IsNull()的字段之前的解决方案.
{vw_CandidateProfile.Type} IN ['NGO','EDU','PRS','PPR','PPS','TTL','OTH']
OR ISNULL({vw_CandidateProfile.Type})
Run Code Online (Sandbox Code Playgroud)
变
ISNULL({vw_CandidateProfile.Type})
OR {vw_CandidateProfile.Type} IN ['NGO','EDU','PRS','PPR','PPS','TTL','OTH']
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
16851 次 |
| 最近记录: |