Consultor Eletrônico



Kbase P154299: Unable to pass error 81
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/13/2009
Status: Unverified

SYMPTOM(s):

Unable to pass error 81

** Day in month is invalid (81)

FACT(s) (Environment):

OpenEdge 10.1C
Windows
OpenEdge Category: Language (4GL/ABL)

FIX:

Upgrade to OpenEdge 10.2A
or use the workaround shown below:
The following code reproduces the problem. Add the "workaround" line allows the user to pass the error 81.
DEFINE VARIABLE d AS DATE.
DEFINE VARIABLE i AS INTEGER.
DEFINE VARIABLE h AS HANDLE.
DEFINE FRAME f d i.
CREATE WINDOW h.
/* workaround */ ASSIGN THIS-PROCEDURE:CURRENT-WINDOW = h.
ENABLE d i WITH FRAME f IN WINDOW h .
WAIT-FOR RETURN OF i.