Kbase P185757: Automatic BOXING will not work in a WHERE clause.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  12/04/2011 |
|
Status: Unverified
SYMPTOM(s):
Automatic BOXING will not work in a WHERE clause.
Using Boxing in a WHERE clause results in error 223
Incompatible data types in expression or assignment (223)
Using code like:
FIND FIRST <table> WHERE <integer field> = ultraNumericEditor1:VALUE.
results in the compile time error 223.
FACT(s) (Environment):
All Supported Operating Systems
OpenEdge 10.2x
CAUSE:
This is expected behavior. The product is working as designed, but an enhancement request has been logged for this functionality, Enhancement Request# OE00206574
FIX:
None at this time. As a work around use somethng like:
DEF VAR i1 AS INT.
i1 = ultraNumericEditor-1:VALUE.
FIND FIRST <table> WHERE <integer field> = i1.