Consultor Eletrônico



Kbase P125253: 4GL/ABL: Error (88) referencing a field in the VALIDATE option of a DEFINE FRAME statement.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   8/1/2007
Status: Unverified

FACT(s) (Environment):

All Supported Operating Systems

SYMPTOM(s):

4GL/ABL: Error (88) referencing a field in the VALIDATE option of a DEFINE FRAME statement.

4GL/ABL: Error (88) referencing a field in the INPUT function used in the VALIDATE option of a DEFINE FRAME statement.

** No corresponding input field found for <table>.<field>. (88)

** No corresponding input field found for Customer.Cust-Num (88)

Executing code similar to:
DEFINE FRAME CustFrame
Customer.Name
VALIDATE(INPUT Customer.CustNum = INTEGER(Customer.CustNum),"Customer number must be a positiove integer")
Customer.CustNum.

CAUSE:

The validation of Customer.Name is performed before the Customer.CustNum is realized on the frame. The Customer.CustNum should be listed in frame definition before it is referenced by the INPUT function.

FIX:

Ensure that all fields referenced in the VALIDATE option of a DEFINE FRAME statement are listed in frame definition before they are referenced by the INPUT function.
DEFINE FRAME CustFrame
Customer.CustNum
Customer.Name
VALIDATE(INPUT Customer.CustNum = INTEGER(Customer.CustNum),"Customer number must be a positiove integer").