Login_GetDataSources()

Examples


The Login_GetDataSources() function fills a list box or drop-down list with the names of all available data sources.

Syntax

Login_GetDataSources(listbox)

Parameters

listbox – The name of the list box or drop-down list to be filled with a list of available data source names.

Return value

An integer corresponding to one of the following constants:

[spacer]

Constant

Description

STATUS_SUCCESS

The list box was filled successfully.

STATUS_ERROR

The list box wasn’t filled, due to an error.


Comments

The data sources that are included in the list will vary from client to client. Only the data sources that have been set up using a computer’s ODBC driver manager will be included in the list displayed at that computer.


Documentation Feedback