Consultor Eletrônico



Kbase P143048: COMPILER:GET-ROW(COMPILER:NUM-MESSAGES) returns error 4065
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   18/03/2009
Status: Unverified

SYMPTOM(s):

COMPILER:GET-ROW(COMPILER:NUM-MESSAGES) returns error 4065

COMPILER:NUM-MESSAGES returns zero even when errors exists

FACT(s) (Environment):

Windows
OpenEdge 10.1C
OpenEdge 10.1C02 Service Pack
OpenEdge 10.2A

CAUSE:

Bug# OE00182168

FIX:

None at this time.

It is however possible to trap if any error messages have been generated, by using a conditional statement such as the following:

IF COMPILER:NUM-MESSAGES = 0 THEN DO:
MESSAGE "No Compiler Messages!"
VIEW-AS ALERT-BOX.
END.
ELSE DO:
MESSAGE "compiler:get-row(1)" COMPILER:GET-ROW(COMPILER:NUM-MESSAGES)
VIEW-AS ALERT-BOX.
END.