Kbase 18150: Important coding tip for abColumn method GetValue
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  29/07/1998 |
|
Important coding tip for abColumn method GetValue
Anytime you use the abColumn.getValue() (or any of its derivatives)
you may get an abException with an errorCode of abConst.NOT_READY.
This exception occurs when the underlying datasource is not yet ready
for use. This could occur at startup, before the datasource is full
open, or anytime after, when requery event processing is in progress
for the datasource.
This check is required due to the multi-threaded nature of the
environment.
To check to see if a datasource is ready, you can call
isReady() on the datasource associated with the abRecordSet
from which the abColumn was obtained. Once isReady() returns
true, the call to abColumn.getValue() should suceed without the
exception.
UTF
7/29/98
Apptivity 2.1