Suppressing Alert Do you want to Save... [message #81976] |
Sun, 06 April 2003 11:38  |
Muzzammil
Messages: 99 Registered: February 2003
|
Member |
|
|
Hello Experts,
Before also I put the question, but still I have the same problem.
I have 3 blocks associated with different table.
When I move from 1st Block to 2nd it is giving ALERT 'Do You Want To Save'.
when I move from 2nd to 3rd same asking to save data again from 3rd to 1st the same.
When I save one block another block data is disappearing.
1. How can I suppress this Alert Message.
2. How can I put 'Yes No Cancel' Cancel as default and exit without saving.
Please help in either ways.
Kindly help..
Thanks,
Syed Muzzammi.
|
|
|
Re: Suppressing Alert Do you want to Save... [message #81978 is a reply to message #81976] |
Sun, 06 April 2003 13:03  |
Zaire
Messages: 36 Registered: October 2002
|
Member |
|
|
Salaams,
Try using the ON-ERROR trigger. I havent really tried this for "Do you want to save changes?" message, but I have replaced the "Cannot update record" alert. So this should work. The "Do you want to save changes?" message has a FRM number. In you ON-ERROR trigger, say:
if error_type = 'FRM' and error_code = '...'
then
null;
else
bell;
message(error_code||' - '||error_text); -- default
end if;
|
|
|