Consultor Eletrônico



Kbase P121396: Error 68, 5194, 5728 when using functions ASC and SUBSTITUTE
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Unverified

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.x
Windows

SYMPTOM(s):

Crash with error 68, 5194 when using functions ASC and SUBSTITUTE

Error 5728 when using ASC and SUBSTITUTE

SYSTEM ERROR: fmprnt -- maxdlen. (68)

Event Logger error: Could not find 'PROMSGS.DLL'. (5194)

Unable to complete automatic conversion of DECIMAL value--use the DECIMAL function. (5728)

Using the 4GL code: MESSAGE ASC(SUBST("&1":U, ?))

CAUSE:

This is a known issue being investigated by Development

FIX:

As a workaround, separate the calls to ASC and SUBSTITUTE:
DEF VAR str AS CHARACTER NO-UNDO.
str = SUBST("&1":U,?).
MESSAGE ASC(str).