Kbase P103509: Client redirects error message (560) to the log file instead of screen.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  1/10/2008 |
|
Status: Unverified
FACT(s) (Environment):
All Supported Operating Systems
OpenEdge 10.x
SYMPTOM(s):
Program stops without displaying any reason on the screen.
The connection to the DB is in client/server mode.
Program uses a FIND or FOR EACH statements that uses the ENTRY() function in a WHERE clause.
The entry number in the ENTRY function is out of range.
Entry <entry#> is outside the range of list <list-string>. (560)
The error message (560) is sent to the log file instead to the screen.
FIX:
Use the NUM-ENTRIES() function before the ENTRY() function.
Example:
FOR EACH customer WHERE NUM-ENTRIES(name) >= 10 AND ENTRY(10,name," ") = "John" :
DISPLAY name.
END.
DISPLAY "Done !".