dbRegPostSaveAsTrigger
dbRegPostSaveAsTrigger(
S_triggerFunc
[ x_priority ]
)
=> t / nil
Description
Allows users to register a trigger function that is called after a postSaveAs or Save Copy operation.
Arguments
|
S_triggerFunc
|
User-defined trigger function.
|
|
x_priority
|
Priority of the trigger functions registered. This argument is optional. The default is the lowest priority. The priority argument enables users to control which trigger function is to be launched first. It should be specified as a positive number, and 0 is the highest priority.
|
Values Returned
|
t
|
The trigger function gets registered successfully.
|
|
nil
|
The registration fails.
|
Examples
dbRegPostSaveAsTrigger("myPostSaveAsTrigger1" 0)
Return to top