BI Publisher (MOSC)

MOSC Banner

Need to change font color along with static data in an if else statement

edited Jan 3, 2018 4:56AM in BI Publisher (MOSC) 3 commentsAnswered

I am trying to change the font color in the bip form but I am unsuccessful.

This is my coding today without the attribute that puts the amount at 0.00 if the extended amount = 0 or the field does not exist.

<?xdofx:if Extended_Price_ID27 !='' then Extended_Price_ID27 else

0.00

end if?>

I have tried the following with no success:

  • <?xdofx:if Extended_Price_ID27 !='' then Extended_Price_ID27 else <?attribute@incontext:color;'red'?>0.00
    end if?>
  • <?xdofx:if Extended_Price_ID27 !='' then Extended_Price_ID27 else 0.00 <?attribute@incontext:color;'red'?>
    end if?> (displays
    end if as comment)
  • <?xdofx:if Extended_Price_ID27 !='' then Extended_Price_ID27 else 0.00 attribute@incontext:color;'red'

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center