Consultor Eletrônico



Kbase P94837: Update cancelled when saving a record using the ADM2
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   9/8/2005
Status: Verified

FACT(s) (Environment):

OpenEdge 10.0B

SYMPTOM(s):

Field(s) have been changed by another user. Your change has been rejected

Changes are rejected when saving a record using ADM2

Save button of the SmartToolbar is selected

SmartDataViewer has a character array field

Field array element value has trailing blank characters

CAUSE:

When the record is saved the ADM2 trims the trailing spaces in the RowObjUpd temp-table record, which then is compared with the database record. The difference in the trailing spaces causes the update to be cancelled

FIX:

Trim the trailing spaces in the database record