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!

Disable check box in a report using APEX_ITEM.CHECKBOX

TekuOct 27 2008 — edited Oct 27 2008
Hi Friends,

I am trying to display my report with a checkbox having column value as 'Y' or 'N' in table.
My query is as below :
SELECT APEX_ITEM.CHECKBOX(1,advertised,'disabled=disabled;' ||DECODE(advertised,'Y','CHECKED', 'UNCHECKED')) "Advertised Flag"
   FROM xyz;
Report is showing all the checkboxes as disabled and UNCHECKED irrespective of the ADVERTISED column value(Y or N).
Any suggestions what I am doing wrong in the query.

Thanks,
Raj.
This post has been answered by Denes Kubicek on Oct 27 2008
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 24 2008
Added on Oct 27 2008
12 comments
4,320 views