Kbase P16194: Replication-write trigger is not fired
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  1/27/2003 |
|
Status: Unverified
FACT(s) (Environment):
Progress 9.x
SYMPTOM(s):
Replication-write trigger is not fired
QUIT condition inside a FOR EACH does not fire the replication-write trigger for the last iteration
CAUSE:
Bug# 20021219-022 not fixed yet
CAUSE:
The following code does not fire the replication trigger for the last iteration in the FOR EACH:
DEFINE VARIABLE cont AS INTEGER NO-UNDO.
FOR EACH customer WHERE city = "Boston":
assign address2 = "newAddress".
cont = cont + 1.
if cont = 3 then QUIT.
END.
FIX:
A workaround is use the LEAVE statement instead of the QUIT condition.