Kbase P138199: TO-ROWID gives no error with LONGCHAR input from ENTRY
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  12/4/2008 |
|
Status: Unverified
SYMPTOM(s):
TO-ROWID gives no error with LONGCHAR input from ENTRY
TO-ROWID returns unknown value with LONGCHAR input
TO-ROWID returns ? with LONGCHAR input
ENTRY function returns LONGCHAR output with LONGCHAR input
FACT(s) (Environment):
All Supported Operating Systems
OpenEdge 10.x
CAUSE:
Bug# OE00178450
CAUSE:
TO-ROWID doesn't expect a LONGCHAR input value and therefore doesn't know how to handle it when one is passed. The result is that when LONGCHAR input data is passed to the TO-ROWID the unknown value (?) is returned.
FIX:
Use the STRING function to cast the data into character before passing it to TO-ROWID