The Login_GetDataSources() function fills a list box or drop-down list with the names of all available data sources.
Login_GetDataSources(listbox)
• listbox – The name of the list box or drop-down list to be filled with a list of available data source names.
An integer corresponding to one of the following constants:
Constant |
Description |
---|---|
STATUS_SUCCESS |
The list box was filled successfully. |
STATUS_ERROR |
The list box wasn’t filled, due to an error. |
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.