Home » Developer & Programmer » Forms » Delete command
Delete command [message #84694] Sun, 18 April 2004 16:50 Go to next message
lotus
Messages: 10
Registered: March 2004
Junior Member
hi

i've create an alert for delete reocrd and i tried to use delete_record to delete existing record but it won't work. the message i've got is FRM-40401 : No changes to save.my coding is below:

PROCEDURE delete_alert IS
return_alert NUMBER;
BEGIN
   return_alert := show_alert('delete_alert');
 
 if return_alert = alert_button1 then
  delete_record;
  commit_form;
 else
  rollback;
 end if;
END;
Re: Delete command [message #84761 is a reply to message #84694] Thu, 22 April 2004 06:39 Go to previous message
Jeslie
Messages: 26
Registered: April 2003
Junior Member
Hi

Your Code looks fine..

Check your block Property (Delete_Allowed should be YES)

Else Give Some more details

Thanks
Previous Topic: how to send a report of any format thru a form
Next Topic: anyone! , please look into my previous problem
Goto Forum:
  


Current Time: Mon May 20 16:59:43 CDT 2024