1. Get rid of all advertisements and get unlimited access to documents by upgrading to Premium Membership. Upgrade to Premium Now and also get a Premium Badge!

Can I use an or statement in xml publisher conditional formatting

Discussion in 'Oracle Forms and Reports' started by Harry, Oct 9, 2014.

  1. Harry

    Harry Guest

    I am trying to show rows depending on one of several columns not being equal to zero, to show data where one column has a value that is not zero I use the following <?if:undelivered_invoice !=0?> this works fine but I need to return data if other columns have a value greater than zero or in simple terms if col a != 0 or col b != 0 or col c != 0
     
  2. shareefirfan

    shareefirfan Forum Advisor

    Messages:
    24
    Likes Received:
    8
    Trophy Points:
    485
    Location:
    Hindupur, AP, India
    Can you please try this in a formfield.

    <xsl:if test="(a!='0' or b='0' or c!='0')">
    output_my_stuff
    </xsl:if>
     
  3. syedimranullah

    syedimranullah Starter

    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    10
    Location:
    uae
    How can I implement the scenario below?

    I need to filter RTF Template and filter the XML BI Publisher Report.

    Filter condition:

    APPLICATION=('AC','LD')
    AND
    CATEGORY=('1001','1002')

    First I Used <?for-each-group:G_1[contains(category,'1001')];./grouping_element?>, but it is filtering with only one value.

    Please provide an example for the above scenario.

    Thanks in advance.

    bi-publisher