Home » Developer & Programmer » Forms » can i do "continue"
|
|
|
Re: can i do "continue" [message #172732 is a reply to message #172715] |
Wed, 17 May 2006 16:30  |
 |
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
This is a default situation: there's no code in KEY-DELREC trigger. When you press KEY-DELREC, record will be deleted (or perhaps not, if there is a child record - then it will raise an error).
When you put YOUR CODE into the KEY-DELREC trigger, it is no longer default but user-defined. You decided to put the code we saw in your first post in there. Also, there might have been, for example
EXECUTE_QUERY;
or
MESSAGE('Hello, world!');
as the trigger code. None of those will perform key's default action - delete record - unless you code it explicitely.
Therefore, if you want the record to be deleted, DELETE_RECORD must exist somewhere in trigger. There's no way to "force" it to "continue" (as you said) with record deletion unless you tell it to.
|
|
|
Goto Forum:
Current Time: Sat Mar 08 17:41:39 CST 2025
|