Routines for ce_edt.kb


DoAddSource

File Name

ce_edt.kb

Syntax

DoAddSource(VAL hWind: WINDOW, REF cr: CE_ContextRecord, Default: BOOLEAN, TRING): BOOLEAN

Parameters

hWind: window handle of the dialog

cr: context record for sql configuration editor

isDefault: default flag for datasource

source: name of the datasource added

Returns

TRUE if datasource added to sai_sql.cfg file FALSE if cancel or failed to add datasource to sai_sql.cfg file

Side Effects

None

Description

Allows user to add a datasource to the sql configuration editor

Dialog Forms Called

None


DoConfigureSource

File Name

ce_edt.kb

Syntax

DoConfigureSource(VAL hWind: WINDOW, REF cr: CE_ContextRecord, REF source: STRING, ult: BOOLEAN, d: BOOLEAN, N): BOOLEAN

Parameters

hWind: window handle of the dialog

cr: context record for sql configuration editor

source: name of the datasource added

isDefault: default flag for datasource

defaultChanged: flag if the default flag changed

fromAdd: flag to indicate if the datasource is just being added

Returns

TRUE if write to the sai_sql.cfg file succeeds FALSE if cancel or failed to write to sai_sql.cfg file

Side Effects

None

Description

Allows user to edit the datasource in the sql configuration editor

Dialog Forms Called

None


DoSecurity

File Name

ce_edt.kb

Syntax

DoSecurity(VAL hWind: WINDOW, REF cr: CE_ContextRecord)

Parameters

hWind: window handle of the dialog

cr: context record for sql configuration editor

Returns

None

Side Effects

None

Description

Allows user to configure the password security to be on or off.

Dialog Forms Called

None


DoTrace

File Name

ce_edt.kb

Syntax

DoTrace(VAL hWind: WINDOW, REF cr: CE_ContextRecord)

Parameters

hWind: window handle of the dialog

cr: context record for sql configuration editor

Returns

None

Side Effects

None

Description

Allows user to configure the trace options available through the sql configuration editor.

Dialog Forms Called

None