Kbase P52212: How to get access to the RowObject temp table from data logi
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  25/11/2003 |
|
Status: Unverified
GOAL:
How to get access to the RowObject temp table from data logic procedure
GOAL:
How to get access to RowObject in the Supper procedure of the SmartDataObject
FACT(s) (Environment):
Dynamics
FACT(s) (Environment):
Progress 9.1D
FIX:
In Dynamics, accessing the rowObject temp table is done via handles. In
the logic procedure use the following:
i.e.:
DEFINE VARIABLE hRowObject AS HANDLE NO-UNDO.
DEFINE VARIABLE hField AS HANDLE NO-UNDO.
hRowObject = DYNAMIC-FUNCTION("getRowObject":U IN TARGET-PROCEDURE ).
hField = hRowObject:BUFFER-FIELD("name":U). /* field name */
message hField:BUFFER-VALUE view-as alert-box.
When the logic procedures fires, (i.e. when adding a new record), the value of field 'name' will be displayed.