How to move cursor from obe block to another block in Oracle forms.
741751Jul 2 2010 — edited Jul 8 2010HI All,
I am developing a form it has two blocks BLK1 and BLK2, in BLK1 i have two fields i(F1 and F2) in BLK1 now after entering F1 and F2 after tab out my cursor should move to the first field of the block BLK2 and display the all details data for this master,
I have used the below code in WHEN-VALIDATE-ITEM of form level.
DECLARE
tm TIMER;
BEGIN
tm:=FIND_TIMER('VALIDATE');
IF NOT ID_NULL(tm) THEN
DELETE_TIMER(tm);
END IF;
tm:=CREATE_TIMER('VALIDATE', 1, NO_REPEAT);
END;
WHEN-TIMER-EXPIRED at the form level
IF GET_APPLICATION_PROPERTY(TIMER_NAME)='VALIDATE' THEN
go_block('blk_tab');
END IF;
Now after entering data in F1 the cursor is moving to next block but my requirement is irt should go to F1 the F2 then go to next block and display the details.
Please help.
regards,
Mustaq.