0
votes

I have two form pages 3 and 4. I want to pass the value for item: P3_LOT_N in page 3 to item: P4_LOT_N in page 4 when the button "Next" is pressed. How can I do this in oracle apex 5.0? Please help. Thank you.

2

2 Answers

0
votes

Here's how:

  • open NEXT button's properties
  • under "Behavior", set "Action" property to "Redirect to page in this application"
  • click the button next to the "Target" (currently, it says "No link defined")
  • in a modal window that opens, target page will be Page 4
  • in "Set items" section, set "Name - value" pair (i.e. set P4_LOT_N to accept P3_LOT_N value)

That should be all.

0
votes

If you do this via a "Redirect to page in this application", then the other form values you have on page 3 will not be POSTed to session state.

There are at least a couple other ways you could accomplish this:

  • You could simply have the Source of item P4_LOT_N be P3_LOT_N.
  • You could define a computation on page 3, to set P4_LOT_N to P3_LOT_N.