Kbase P137167: ADM2: How to run custom code every time a SmartDataObject record is accessed
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  11/11/2008 |
|
Status: Unverified
GOAL:
ADM2: How to run custom code every time a SmartDataObject record is accessed
FACT(s) (Environment):
Windows
Progress 9.x
OpenEdge 10.x
FIX:
Override the updateQueryPosition method in the SDO. This method is called whenever the current record pointer is changed. Add the custom code after the RUN SUPER statement to insure that the current record pointer points to the new record being accessed. The handle of the current rowObject temp-table record can be accessed in this method through the rowObject attribute of the SDO, and the rowID(s) of the underlying database record(s) can be accessed through the rowIdent attribute.