Kbase P167190: Passing the CAN-FIND function as input to a method that has a logical input parameter fails, if the
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  11/22/2010 |
|
Status: Unverified
SYMPTOM(s):
Passing the CAN-FIND function as input to a method that has a logical input parameter fails, if the CAN-FIND is called with a WHERE clause that references a non-logical field.
If the class method only has a variant that accepts the LOGICAL parameter, the class fails to compile with: "Parameter <position> for <method> is not type compatible with its definition. (12905)"
Parameter for is not type compatible with its definition. (12905)
If the class method also defines an override, which has an input parameter that matches the datatype of the non-logical field, the class compiles but the method is never executed at runtime.
FACT(s) (Environment):
OpenEdge 10.2B
All Supported Operating Systems
CAUSE:
Bug# OE00197989
FIX:
Workaround:
Use an intermediate LOGICAL variable to catch the result of the CAN-FIND function, and then pass variable that to the method.