Oracle Apex Set values before moving to another page, Items are all null

痴心易碎 提交于 2019-12-06 05:55:55

OK I solved it and it is my playing around with another issue that cased it. I had set the hidden fields to "Always replacing" instead of "Only when null" so the plsql process updated the session but not the item so when I did a submit the null item replaced what the plsql process had set. I had expected that when the session was updated it would update the item also. I worked it out by making the hidden field visible and could see it was blank but had a value when I checked the session state.

Hidden page items in your current page cant be used in other pages unless your current page is a global page. You have to pass the value to another page item in the other page.

Try this:

  • Go to the other page and Create hidden items to catch the value to be passed from the first page.

  • Go back to the first page and retain your process and create a branch process. then set it to redirect to another page. then you'll see Set items below. Put your hidden items in the other page in the left side then your hidden items in your current page in the right side in this format &P1_NEW.(with the period)

It should look like this

Set Items

P11_PAT_ID--------------------------&P1_PAT_ID.


P11_SUR_ID--------------------------&P1_SUR_ID.

etc.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!