Kbase P44298: Unable to locate record in current query error.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  1/1/2010 |
|
Status: Unverified
FACT(s) (Environment):
Progress 9.1x
SYMPTOM(s):
Unable to locate record in current query error on Appserver.
Only happens when running ADM2 code on State-Reset and State-aware Appservers. Stateless Appservers do not exhibit the problem.
Repositioning an SDO to a record with fetchrowIdent produces the error.
CAUSE:
The error comes from fetchrowIdent in data.p. For some reason the context saved in the SDO is becoming out of synchronization with the Appserver.
FIX:
Before performing the fetchrowident, open the query again. i.e.
DYNAMIC-FUNCTION('openQuery':U IN h_SDO).
DYNAMIC-FUNCTION('fetchRowIdent':U IN h_SDO, INPUT cRowIdent, ?).