Consultor Eletrônico



Kbase P101037: Badly recompiled version of adm2/data.p and error 560 from describeSchema
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   09/02/2005
Status: Unverified

FACT(s) (Environment):

Dynamics 2.X

SYMPTOM(s):

Entry <entry#> is outside the range of list <list-string>. (560)

Using the Dynamics Filter/Find facility

Using a customized version of describeschema API in adm2/data.p

CAUSE:

data.p was recompiled with the wrong version of src/adm2/tblprep.i(not the one that comes with Dynamics but the one that comes with Progress Provision).
Because of that &adm-tabledelimiter preprocessor was containing CHR(1) instead of the semi-column as it should with the src/adm2/globals.i of Dynamics. This caused an earlier call of {get DataColumnsByTable ...} to return a CHR(1) separated list
Note that this kind of problem does not occur in OpenEdge 10 because the Standard version of ADM2 and the Dynamics version of ADM2 have been merged into one single ADM2.

FIX:

Use the SEARCH("src/adm2/tblprep.i) to make sure that the PROPATH does not fetch the wrong version of src/adm2/tblprep.i before compiling adm2/data.p.
Hint: the Dynamics installation directory (parent of src) should come before the installation directory of Progress.