When a user-defined function or a trigger is executed on a table object, xRec and FIELDNO are set differently, depending on how the function or trigger is executed. The following tables explain what happens in the different scenarios.

Expand imageUser-Defined Function

Expand imageTriggers