Kbase P17377: Directly invoking the QUERY-PREPARE method within a SmartDat
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  2/4/2003 |
|
Status: Unverified
FACT(s) (Environment):
Dynamics 2.0A
SYMPTOM(s):
Creating a dynamic SmartDataObject
Directly invoked the QUERY-PREPARE() method of the SmartDataObjects query object
Data being returned was not what was expected
CAUSE:
SmartDataObjects expose and API for manipulating the query defined within the SmartDataObject. Do not use the methods exposed by the underlying 4GL query object as the SmartDataObject will then be 'out of sync' with the underlying 4GL query.
FIX:
Modify the source code to use the standard API for manipulating the query defined within a SmartDataObject (i.e. setQueryWhere, assignQuerySelection, addQueryWhere, ...)