Top Method Summary
Options Name Purpose
BuildFieldMapping (character) Builds the field mapping from rowObject field names to original database table.field names
CHARACTER GetDataSourceFileName (character) Extracts the Data Source file name from a SmartBrowse or SmartViewer source file
ParseSdoFieldMapping (character) Parses the SDO file and populates the ttFieldMapping temp-table with mappings from rowObject field names to table.field names
PostProcessBrowseColumn (character, character, table) Allows post-processing of the browse parser result
PostProcessFrameWidgets (character, character, table) Allows post-processing of the frame parser result


Method Detail
Top

BuildFieldMapping (character)

Purpose: Builds the field mapping from rowObject field names to
original database table.field names
Notes: Reads the source file to find the SDO reference, then
parses the SDO file for _FldNameList entries

Parameters:
pcFileName CHARACTER
The name of the source file (SmartBrowse or SmartViewer)
Top

CHARACTER GetDataSourceFileName (character)

Purpose: Extracts the Data Source file name from a SmartBrowse or
SmartViewer source file
Notes: Parses the "Settings for THIS-PROCEDURE" comment block
looking for the "Data Source:" line

Parameters:
pcFileName CHARACTER
The name of the source file to parse
Returns CHARACTER
The data source file name (SDO .w file)
Top

ParseSdoFieldMapping (character)

Purpose: Parses the SDO file and populates the ttFieldMapping temp-table
with mappings from rowObject field names to table.field names
Notes: Parses the _FldNameList entries in the "Query rebuild information
for SmartDataObject" comment block

Parameters:
pcSdoFileName CHARACTER
The name of the SDO file to parse
Top

PostProcessBrowseColumn (character, character, table)

Purpose: Allows post-processing of the browse parser result
Notes: Detects ADM2 SmartBrowse objects and replaces rowObject field
references with the original database table.field names

Parameters:
pcFileName CHARACTER
The name of the file to parse
pcBrowseName CHARACTER
The name of the browse to return the widgets for
ttBrowseColumn TEMP-TABLE ttBrowseColumn
INPUT-OUTPUT TABLE The temp-table with the browse widget information
Top

PostProcessFrameWidgets (character, character, table)

Purpose: Allows post-processing of the frame parser result
Notes: Detects ADM2 SmartViewer objects and replaces rowObject field
references with the original database table.field names

Parameters:
pcFileName CHARACTER
The name of the file to parse
pcFrameName CHARACTER
The name of the frame to return the widgets for
ttFrameWidget TEMP-TABLE ttFrameWidget
INPUT-OUTPUT TABLE The temp-table with the frame widget information


Temp-Table Detail

Temp-Table ttBrowseColumn

Defined in:

Temp-Table ttFrameWidget

Defined in:


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       03.05.2026 21:45:39