Consultor Eletrônico



Kbase P1950: ADM2: How to know within a transactionvalidate the operation
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   8/22/2003
Status: Unverified

GOAL:

ADM2: How to know within a transactionvalidate (pre, begin, post, end) the operation that is being performed with the record (update, delete or create)

FIX:

Using the field RowMod that can be equals to "U" for update, "A" for create and "D" for delete. It can be used with RowObject or RowObjUpd.

Example:

IF RowObject.RowMod = "U":U THEN ...