RE: What is the correct sequence of firing triggers in...
What about the when-validate-item, key-next-item in case of text items, when-list-changed in case of lists or combo boxes... etc., where exactly these triggers will fit in the above sequence between when-new-block-instance and post-block or anywhere else? please clarify
RE: What is the correct sequence of firing triggers in...
Pre-logon On Logon Post logon Pre-form When-new-form-instance pre-block when-new-block-instance when-new-item-instance Pre-text-Item (first item in the block) key-next-item when-validate-item post-change Post-text-Item Pre-text-Item (2nd item in the block) .. .. Post-block post-form
RE: What is the correct sequence of firing triggers in...
Suppose we open a form then the following triggers are executed:-
PRE-LOGON
ON-LOGON
POST-LOGON
PRE-FORM
PRE-BLOCK
WHEN-NEW-FORM-INSTANCE
WHEN-NEW-BLOCK-INSTANCE
WHEN-NEW-ITEM-INSTANCE
Now the cursor is placed on the first item of the Block.
Suppose if we type some data and press the Tab key then the following sequence of triggers fires:-
KEY-NEXT-ITEM (This trigger is present on the item level).
POST-CHANGE (This trigger is present on the item level).
WHEN-VALIDATE-ITEM (This trigger is present on the item level).
POST-TEXT-ITEM (This trigger is present on the item level).
WHEN-NEW-ITEM-INSTANCE (Block Level Trigger).
The cursor goes to the next item present on the screen.
If suppose there are no further items present on the screen them if we enter data and press tab key then only KEY-NEXT-ITEM is fired. Now suppose we close the form then the item level triggers (explained above) are fired.
RE: What is the correct sequence of firing triggers in...
Pre-logon On Logon Post logon Pre-form pre-block Pre-text-Item (1st item in the block) When-new-form-instance when-new-block-instance when-new-item-instance
after this what is written on when-validate-item item
if succeed
key-next-item post-change Post-text-Item Pre-text-Item (2nd item in the block) when-validate-item
if not succeed
key-next-item post-change when-validate-item Post-text-Item Pre-text-Item (2nd item in the block)