Kbase P99002: How to get the table name for a field in Smart Data Viewer ?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  30/12/2004 |
|
Status: Unverified
GOAL:
How to get the table name for a field in Smart Data Viewer ?
FACT(s) (Environment):
Progress 9.1x
OpenEdge 10.x
FIX:
The following code is retriving the table name from the data source object :
DEF VAR hDS AS HANDLE.
hDS = DYNAMIC-FUNCTION( 'getDataSource' [IN h_viewer] ).
MESSAGE DYNAMIC-FUNCTION( 'columnTable' IN hDS, <column-name> ).
Where:
h_viewer is the handle of the Smart Data Viewer - use this if your code is not in the SDV* itself
column-name is the name of the field in SDV*
* SDV stands for Smart Data Viewer