Feb 24, 2005 #1 redeemasp Programmer Jun 1, 2004 63 GB I use: IIF ({ORC_get_O07MarketingLead.Description} = 'Marketing Lead', "Yes", "No") When variable is other than Marketing Lead, the second part of the statement (else) does not perform. So I get either Yes, or Blank (instead of No). Any ideas? Thanks Redeem
I use: IIF ({ORC_get_O07MarketingLead.Description} = 'Marketing Lead', "Yes", "No") When variable is other than Marketing Lead, the second part of the statement (else) does not perform. So I get either Yes, or Blank (instead of No). Any ideas? Thanks Redeem
Feb 24, 2005 #2 lbass Technical User Feb 9, 2002 32,816 US I don't think the iif function (in CR) works well with nulls. Try using: if isnull({ORC_get_O07MarketingLead.Description}) or {ORC_get_O07MarketingLead.Description} <> "Marketing Lead" then "No" else "Yes" -LB Upvote 0 Downvote
I don't think the iif function (in CR) works well with nulls. Try using: if isnull({ORC_get_O07MarketingLead.Description}) or {ORC_get_O07MarketingLead.Description} <> "Marketing Lead" then "No" else "Yes" -LB