Consultor Eletrônico



Kbase P80353: Wrong parameter order using LOOKUP() core-function in adm2/lookup.p
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Unverified

FACT(s) (Environment):

Dynamics

SYMPTOM(s):

Wrong parameter order using LOOKUP() core-function in adm2/lookup.p

In leaveLookup in lookup.p there was the following line of code:
LOOKUP(cQueryTables,ENTRY(1,cDisplayedField,".":U)) > 0

CAUSE:

The lookup function would always evaluate to 0 as the function should be of the format:
expression,list
however in this case it was:
list,expressison

FIX:

Change the code to:
LOOKUP(ENTRY(1,cDisplayedField,".":U),cQueryTables) > 0