Consultor Eletrônico



Kbase 18706: What Does field-num in Error 3782 Refer to?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/15/2008
Status: Verified

GOAL:

What does field-num in error 3782 refer to?

FACT(s) (Environment):

Progress 8.1x

FIX:

The <field-num&gt in the following error message refers to the relative position of the field in the table:

Field <field-num> from <file-name> record (recid <RECID>) was missing from FIELDS phrase. (3782)

The following code can be used to determine the name of
The field the error is referring to.


FIND FIRST _file where _file-name = <file-name>
  NO-LOCK NO-ERROR.
IF AVAILABLE _file THEN DO:
FIND FIRST _field of _file WHERE
  _field-rpos = <field-num> NO-LOCK NO-ERROR.
IF AVAILABLE _field THEN
  DISPLAY _field-name _field-rpos.
END.