Home » Developer & Programmer » Forms » Help..
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.
Previous Topic: URGENT ... URGENT !: how to Enable/Desable one recored in my block-
Next Topic: virtual directors
Goto Forum:
  


Current Time: Fri Apr 19 07:38:31 CDT 2024