Deelazee
Deelazee

Reputation: 513

Oracle Forms: execute on canvas load

I have a form with 2 canvases. The first canvas has a button that loads the second canvas when pressed. Now I want to fill some data in a list item (that is in the second canvas) when the second canvas is loaded. There's the WHEN_NEW_ITEM_INSTANCE trigger on the list item but that doesn't seem to fire when the canvas is loaded. Any idea how I could do this?

Tried searching all around but haven't found anything useful.

Upvotes: 2

Views: 1695

Answers (1)

Riveck
Riveck

Reputation: 36

Just put your code in the button WHEN-BUTTON-PRESSED if there is no other way to reach second canvas.

Upvotes: 2

Related Questions