|
-
Hello,
U can go in two ways :
First one is :
U can go for two trigger at the block level
Example :
One is :
In KEY-NEXT-ITEM Trigger
--------------------------------
if < Condition > then
Go_Block('Block Name');
end if;
Second is :
In WHEN-MOUSE-CLICK Trigger
--------------------------------------
if < Condition > then
Go_Block('Block Name');
end if;
This will solve both from key board as well as thru mouse navigation.
Second one is :
Can do like this also, then u do not have to worry about by key board or mouse navigation.
WHEN-TIMER-EXPIRED
---------------------------
DECLARE
tm_name VARCHAR2(20);
BEGIN
tm_name := Get_Application_Property(TIMER_NAME);
IF tm_name = 'MY_TIMER' THEN
Go_block('Block Name');
END IF;
END;
WHEN-VALIDATE-ITEM
----------------------------
declare
t timer;
begin
if then
t :=create_timer('MY_TIMER', 1, NO_REPEAT);
end if;
end;
Hope this will help u ..
[Edited by sasmita on 04-24-2001 at 01:08 AM]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|