Consultor Eletrônico



Kbase P123346: BUFFER-COPY with user-defined function in ASSIGN phrase corrupts index
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/6/2009
Status: Verified

SYMPTOM(s):

BUFFER-COPY with user-defined function in ASSIGN phrase corrupts index

idxfix reports errors 1422 after buffer-copy executed

SYSTEM ERROR: Index in for recid could not be deleted. (1422)

FACT(s) (Environment):

User-defined function raises error condition at runtime
User-defined function used to assign value to indexed field
OpenEdge 10.1x
All Supported Operating Systems

CAUSE:

Bug# OE00149262

FIX:

Upgrade to OE10.1C or later

Or, If upgrade is not possible use the following workaround:

Avoid using the user-defined function in the ASSIGN phrase of the BUFFER-COPY.
Use intermediate variables to determine the deisred values before the BUFFER-COPY takes place, and use those variables in the ASSIGN phrase of the BUFFER-COPY.