Capturing Exceptions in Forms 4.0

From: Dr Fgets <amcnaugh_at_ugrad.cs.ualberta.ca>
Date: 1998/03/21
Message-ID: <351487A8.41C67EA6_at_ugrad.cs.ualberta.ca>#1/1


[Quoted] [Quoted] Hi, I'm trying to capture the "No changes to commit" exception that pops up on me, and I can't seem to do it. I've tried this: NO_COMMIT EXCEPTION;
PRAGMA Exception_Init (NO_COMMIT, -40401); EXCEPTION
WHEN NO_COMMIT THEN
message('blah blah');
RAISE form_trigger_failure;
and also WHEN OTHERS and what not, and it doesn't seem to work, can someone help me out please?
-The illustrious DR Fgets Received on Sat Mar 21 1998 - 00:00:00 CET

Original text of this message