Thursday, August 21, 2008

:SYSTEM.TRIGGER_ITEM vs :SYSTEM.CURRENT_ITEM

Both :SYSTEM.TRIGGER_ITEM and :SYSTEM.CURRENT_ITEM has character string values which is in form of BLOCK_NAME.ITEMN_NAME. :SYSTEM.TRIGGER_ITEM represents the Item in the scope of firing trigger. When :SYSTEM.TRIGGER_ITEM is referenced in KEY-XXX triggers then only it returns the values same as :SYSTEM.CURSOR_ITEM. :SYSTEM.CURSOR_ITEM represents currently focused item and may change in a trigger if navigation takes place. Value of :SYSTEM.TRIGGER_ITEM remains same from begining of trigger till end.

No comments:

Post a Comment