Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Conditional item formatting (color)

karasreOct 23 2006 — edited Feb 28 2007
Hello friends,

I try to set conditional style (red color for i=0 and green for i=1) for an item using: "HTML Form Element Attributes"
with this SQL statement:

Select
CASE
WHEN I=0 THEN style="background-color:red"
WHEN I=1 THEN style="background-color:green"
END
from PERIODS where YEAR=TO_NUMBER(:P1_ROK_ROZ)

but I have achieve only style="background-color:red" for an item.

Could you have any experience in this aproach.

Best regards,

Remi
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 28 2007
Added on Oct 23 2006
17 comments
5,446 views