FRM-40401 No changes to save error [message #110906] |
Thu, 10 March 2005 19:35 |
rajesh
Messages: 173 Registered: November 1998
|
Senior Member |
|
|
I have updated a table from the form and written a update statement in the when-button-pressed trigger.
while the code is working fine and the table is updated but iam finding this error in the console frm-40401 no changes to save. pls help me why it is coming and what affect it have on my form. i had suppressed this message by writing on-error trigger on form level.
|
|
|
|
|
|
Re: FRM-40401 No changes to save error [message #111096 is a reply to message #110906] |
Sun, 13 March 2005 18:21 |
|
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
MHE's suggestion to change the status of the current block to 'CHANGED' is a good idea.
If you only set the MESSAGE_LEVEL higher than 0 be careful that you don't have an exception clause in the execution block because the 'no changes to save' will be trapped by the exception condition and any code after the COMMIT_FORM will be bypassed and the database may not be committed. [This non-commital MAY NO LONGER happen, but it DID happen in some previous versions of Forms.] Always be extremely careful when raising ANY condition, especially when performing maintenance on a highly modified form.
David
[Updated on: Sun, 13 March 2005 18:23] Report message to a moderator
|
|
|
|