Consultor Eletrônico



Kbase P79333: Why WRITE trigger fire but BUFFER-COMPARE doesn't see any modifications
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   09/08/2004
Status: Unverified

GOAL:

Why WRITE trigger fire but BUFFER-COMPARE doesn't see any modifications

FIX:

A field is changed then reassigned to the original value.
Example:
DEF VAR cName AS CHARACTER .
FIND customer WHERE ...
ASSIGN cName = customer.name.
ASSIGN customer.name = "Progress".
ASSIGN customer.name = cName.

BUFFER-COMPARE within the WRITE trigger of customer table doesn't see any modifications.