Monday 31 August 2015

Submit and redirect

I was working on a project where i need to use only one button and make some the complex functionality to work together.
Using Apex Oracle 5.0.001.
When ever you want to Update some values in database at the same time you want to redirect you page in application then be prepare for some hard luck to try.
After trying lots of solution i came across this solution which will update values in database as well as redirect page.
i have create page process for it on submit after validation.

Issue: submit page process and page redirect together
Code:
Use of  owa_util.redirect_url('f?p=&APP_ID.:73:&APP_SESSION.::NO:::'); apex_application.g_unrecoverable_error := true;
That's All!! yep that's it.

No comments:

Post a Comment

Show values in right side of shuttle

While working with select list and shuttle, when we want to display values into right side of shuttle depending upon selection from select ...