Kbase P101980: The SAVE-ROW-CHANGES() method is not supposed to delete a record from a before image temp-table.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  14/03/2005 |
|
Status: Unverified
FACT(s) (Environment):
OpenEdge 10.0
SYMPTOM(s):
A hBeforeImageBuffer:SAVE-ROW-CHANGES() does not delete the record in the before image temp-table when successful
CAUSE:
Expected behavior. The SAVE-ROW-CHANGES() method is not supposed to delete a record from a before image temp-table.
FIX:
When SAVE-ROW-CHANGES() is successful, then one shall call the ACCEPT-ROW-CHANGES() method to accept the changes and remove the record from the before image temp-table. On the other hand, if SAVE-ROW-CHANGES() fails, then the error should be handled and REJECT-CHANGES() should called to remove the record from the before image temp-table.