0 Replies Latest reply on May 1, 2012 4:37 AM by 780388

    Convert to a variable condition

    780388
      Hi Gurus,

      Need your help in converting this logic to a variable condition. Because I need to insert this inside a for-each-group.

      <?if: MATCHED='Y' or (BSUPPRESSEDADDRESS='N' and RSUPPRESSEDADDRESS='Y')?><?COUNTRY?><?end if?>
      <?if: MATCHED='N'?><?COUNTRY?><?end if?>
      <?if: MATCHED='Y' or (BSUPPRESSEDADDRESS!='N' and RSUPPRESSEDADDRESS!='Y')?>null<?end if?>

      and

      <?if: MATCHED='Y' or (BSUPPRESSEDADDRESS='N' and RSUPPRESSEDADDRESS='Y')?><?STATE?><?end if?>
      <?if: MATCHED='N'?><?STATE?><?end if?>
      <?if: MATCHED='Y' or (BSUPPRESSEDADDRESS!='N' and RSUPPRESSEDADDRESS!='Y')?><?STATE?><?end if?>

      Thanks in advanced.
      jP