Routines for netc_gl.kb


ConnectNetCensus

File Name

netc_gl.kb

Syntax

ConnectNetCensus( REF currentDataSource: INTEGER, REF netCensusDataSource: INTEGER, VAL netCensusDataSourceName: STRING )

Parameters

currentDataSource - Current TSD datasource connection

netCensusDataSource - NetCensus datasource connection

netCensusDataSourceName - NetCensus Data source Name

Returns

BOOLEAN: TRUE if connection to NetCensus data source is

successful, FALSE if not.

Side Effects

Changes the current database connection from the TSD database to the NetCensus database

Description

This function will try to connect to the NetCensus data source using the NetCensus data source name passed in. If it does, then the current application connection becomes NetCensus and not the TSD default

Dialog Forms Called

None


DisplayConfigFiles

File Name

netc_gl.kb

Syntax

DisplayConfigFiles( VAL w: WINDOW, VAL config_id: STRING )

Parameters

w - The window handle of the calling event

config_id - The NetCensus config id used to find the

appropriate path holding the configuration files

Returns

Nothing

Side Effects

None

Description

This function looks for the NetCensus configuration files associated with the NetCensus configuration id passed in. It then reads the files found into a series of string lists, formats these lists, and then launchs a window displaying the information found. The NetCensusPath defined in the TAM configuration application in conjunction with the config_id are used to detmine the location of the configuration files to be displayed.

Dialog Forms Called

census.dfc[netsysinfoform]


ShowPathEvent

File Name

netc_gl.kb

Syntax

None

Parameters

None

Returns

None

Side Effects

None

Description

None

Dialog Forms Called

None