oracle - Redirect to apex page and set error message to be displayed -


i have process runs when page submitted. in process catching exception , if exception occurs, want redirect different page , display error message of exception.

the redirect in code works want set error message display on page 765 different page 1 process on.

begin      -- code here  exception when others     -- how set exception error message show on page 765?     owa_util.redirect_url('f?p=&app_id.:765:&session.::no:::');  end; 

sqlerrm returns error message, , sqlcode code:

begin      -- code here  exception when others     :p765_error_code := sqlcode;     :p765_error_msg := sqlerrm;     owa_util.redirect_url('f?p=&app_id.:765:&session.::no:::');  end; 

Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -