2013-10-04 21 views
0

我需要通過檢查下面的要求來抑制一個部分。如果在水晶報告中的條件

If scanmode and status=null (these fileds coming from database) then i need to suppress the section. If it is not null then i need check next condition if status in [c,d] .if it is false i need to suppress the section without checking next conditions.If it is true then i need to check next condition 

{Status.status}> = 3,如果它是> = 3然後我需要檢查下一個條件{?堆棧} <> 「S」。

回答

0

這應該相當容易完成。在科專家,你在「抑制」選項,這將是這個樣子創建一個自定義公式:

if (scanmode = 0 and status = 0) else if (c = value and d = value) else..... 

如果需要多個條件,以抑制部分,那麼你可以使用或代替AND。 我建議你先試着壓制一個條件,看看壓制是否有效,然後再加入。

希望幫助,

克里斯