Form 10g- Go to next navigation item in a different data block
713926Jul 27 2009 — edited Jul 27 2009Hello,
I have a "Full_name_entry" textbox in a datablock1. On this text-item, I have following 3 triggers to populate LOV and to automatically sets name. I would like to navigate to next item which is from the different datablock as soon we select name from the LOV.
Currently, it goes to next item in the same datablock. If I manually put cursor in datablock1.FULL_NAME_ENTRY and hit "tab", then only it goes to
datablock2.NEXTDATE because of KEY-NEXT-ITEM trigger. I doesn't go to datablock2.NEXTDATE if full_name is populated from the LOV.
KEY-LISTVAL trigger
LIST_VALUES;
IF NAME_IN(:SYSTEM.TRIGGER_BLOCK || '.FULL_NAME_ENTRY') IS NOT NULL THEN
VALIDATE(ITEM_SCOPE);
END IF;
WHEN-NEW-ITEM-INSTANCE trigger
SET_ITEM_PROPERTY('DATBLOCK1.FULL_NAME_ENTRY', LOV_NAME, 'ALL_NAME_LOV');
KEY-NEXT-ITEM
GO_ITEM('DATABLOCK2.NEXTDATE');
I was wondering, what property do I need to set in order to achieve this. Any help/suggestions would be appreciated.
Thanks,
user7954680