Kbase P79267: Dyn: Error 3140 with HAS-RECORDS in AS log file because assignQuerySelection called for bad field
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/5/2004 |
|
Status: Unverified
FACT(s) (Environment):
Dynamics 2.1A
SYMPTOM(s):
Invalid widget-handle. Not initialized or points to a deleted widget. (3135)
Cannot access the HAS-RECORDS attribute because the widget does not exist. (3140)
CAUSE:
assignQuerySelection is called in SDO for an invalid field in the cColumns parameter. In this case, with a DB-Bound session, assignQuerySelection() fails without reporting any error on the UI side. On the other hand it is less silent in an AppServer session so it leaves errors in the log file.
FIX:
Make sure the field is known by the SDO (in the dataColumn SDO property) before calling assignQuerySelection on it.