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!

Resetting items when branching to a URL

122821Dec 8 2003 — edited Dec 10 2003
I have a form that I am using to collect parameters to pass to a stored function which creates a database record and returns the primary key of the new record into an item on my form. I then want to branch to a URL and pass the value in the item to the URL. I would like all of this to be accomplished with 1 button.

Here is what I have done so far.

I created an item (P1_REPORT_ID) to hold the return value.
I created a button that has a Button_Request_Value of RUN_REPORT.
I created a process
(PL/SQL annonomous block)
(Process Point-On Submit - After Computations and Validations)
(Conditional Processing - Request = Expression 1 - Expression 1 = RUN_REPORT)
which creates the record and returns the primary key into the item.


All of this works.

Now after the processing I want to branch to a URL and pass the value in P1_REPORT_ID to it, then clear out P1_REPORT_ID.

Any suggestions

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 7 2004
Added on Dec 8 2003
8 comments
485 views