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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Adding an executable button to a classic report

Z N4 days ago

Alrighty so I'm trying to create a button that inactivates an account on click.

The idea would be: if I click the button on the inactive/active button, it'll execute a plsql function in the background that'll active/inactivate the account.

Now - here's where it gets iffy:

  • How do I pass along the value of the Activity Date down to my PLSQL code?
BEGIN
pkg.activate('active', <ACTVITIY_DATE>);
END; 
  
  • How do I get the button to work so it activates the code on click?

Was going to be my plan and do a jQuery that executes code. Would this work?

This post has been answered by Scott Wesley on Dec 18 2024
Jump to Answer
Comments
Post Details
Added 4 days ago
5 comments
87 views