Refer to calling event

Is there anyway to refer to the trigger that called a function? I need to know, for example, whether the function was called from OnAfterGetRecord or OnValidation and run different code inside the same function based on which trigger called the function. Devin W. McMahon, MCDBA

Hi Devon, as far as I know it is not possible to figure out which trigger called the function. But you can add a parameter to your function (e.g. option type, option string: OnValidate, OnAfterGet, … and so on) and use this parameter in the different triggers to call that function. In the function itself you use that parameter to handle the different conditions. Saludos Nils