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!

using dynamic action in button inside interactive report

the pastJan 12 2022

i have interactive report
i added 2 buttons

Approve Reject inside it
"P_req_no primary key"
For Approve button
Type: Link
link text: <span class="t-Button t-Button--success" aria-hidden="true">Approve</span>
Link Attribute: data-id=#REQUEST_NO#
For Reject button
Type: Link
link text: <span class="t-Button t-Button--danger" aria-hidden="true">Reject</span>
Link Attribute: data-id=#REQUEST_NO#

I want to make dynamic action for both button

When i press on Approve
'Update mm set status='Approved' where req_no=:P_req_no;
then refresh region

when i press on Reject
'Update mm set status='Rejcted' where req_no=:P_req_no;
Then refresh region

Comments
Post Details
Added on Jan 12 2022
4 comments
5,172 views