Consultor Eletrônico



Kbase P179905: GET-CHANGES passes records back to the server that have not changed
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   05/01/2011
Status: Unverified

SYMPTOM(s):

GET-CHANGES passes records back to the server that have not changed

Change dataset contains records that have original values.

FACT(s) (Environment):

Code assigns ProDataSet temp-table field value to itself using the ASSIGN statement.
All Supported Operating Systems
OpenEdge 10.x

CAUSE:

This is expected behavior. Any ASSIGN statement assigning a value to one or more fields of a ProDataSet temp-table causes the temp-table buffer ROW-STATE to be set to ROW-MODIFIED and a change record to be written to the before-table. No checking is done to test whether the old and new values are actually different.

FIX:

None at this time. If this is not the desired behavior, consider adding conditional statements (IF) to the application so that the ASSIGN statement is not executed unless the new value is different from the existing value.