Help.. [message #82433] |
Mon, 26 May 2003 08:22 |
Mubeen
Messages: 44 Registered: February 2003
|
Member |
|
|
please help me out as i am facing problem in getting this code sucessfully compiled.what i want is unless the user clicks any of the item in the current block the control shld not pass on to the next block for which i am using pre-block trigger and putting the following code:-
DECLARE
curblk VARCHAR2(30);
Alert_id number;
blk_id block;
BEGIN
curblk := :System.Cursor_Block;
blk_id := Find_block('masterblk');
IF curblk = 'masterblk' THEN
Alert_id := show_alert('block_alert');
set_block_property(blk_id,'masterblk',property_true);
else
raise form_trigger_failure;
end if;
end;
Thanx in advance.
Mubeen.
|
|
|