Kbase P35922: How to query the rowobject temp-table from a SmartDataViewer
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  2/17/2004 |
|
Status: Unverified
GOAL:
How to query the rowobject temp-table from a SmartDataViewer?
FIX:
In order to query the rowobject temp-table from a SmartDataViewer, you will need to get the handle of the SmartDataViewer's data source and then run a procedure in the handle of that object which queries the table. In the SmartDataViewer, you first.
1.
DEF VAR vhandle AS HANDLE.
vhandle = DYNAMIC-FUNCTION('getDataSource':U).
RUN SDOProcedure IN vhandle.
Then, you define the procedure in the SDO that you would like to run.
2.
PROCEDURE SDOProcedure:
FOR EACH rowobject.
/* run some code */
END PROCEDURE.