Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

PRE-BLOCK trigger has some very strange behavior

Wendy TrompDec 27 2005 — edited Dec 27 2005
I have a form in which I reuse the window. I have 5 canvases, each contain a block. On the first canvas I have 4 buttons to navigate to the blocks. This is what happens:
- I enter the form
- I press the first button to go to the second block
- First, the PRE-BLOCK trigger of the second block fires
- Then the WHEN-BUTTON-PRESSED trigger of the first button fires
- Then the PRE-BLOCK trigger of the third block fires (!)
- Then the PRE-BLOCK trigger of the fourth block fires (!)
- Then the PRE-BLOCK trigger of the fifth block fires (!)
- Then the PRE-BLOCK trigger of the second block fires again (!!!)

This only happens once, no matter which button I press. When I navigate back to my original block and then press another of the 4 buttons, only the PRE-BLOCK of that particular block fires and after that the WHEN-BUTTON-PRESSED trigger fires and that's it.

I have generated the form with designer and headstart 10g, and I ran into this when my button changed the window title and the PRE-BLOCK trigger kindly changes it back the first time I press a button, simply because it is fired twice, before AND after the WHEN-BUTTON-PRESSED trigger.
How is this possible?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 24 2006
Added on Dec 27 2005
1 comment
2,022 views