 |
| Enumerating ODBC Data Sources available on the local computer |
User rating: 0/10 (0 votes) | |
|
|
 |
 |
Versions: click to open |
 |
|
 |
 |
| Before you begin: |
 |
The code shows how to use SQLDataSources function to retrieve lists of available Data Sources (either System or User DSNs).
You may be interested in similar example:
How to retrieve list of system DSNs (Data Source Name) with parameters
|
 |
 |
| |
| |
Members area. Log in to view this example. |
|
| |
|
|
|
|
|
 |
User rating: 0/10 (0 votes) | |
| 3729 bytes Created: 2002-03-05 11:55:05 Modified: 2011-12-10 09:20:22 Visits in 7 days: 141 |
|
 |
 |
| Listed functions: |
 |
|
 |
 |
| My comment: |
 |
Variable mDirection defines whether System, User or both DSNs will be retrieved depending on value assigned:
SQL_FETCH_FIRST_SYSTEM
SQL_FETCH_FIRST_USER
SQL_FETCH_FIRST |
 |
 |
| Word Index links for this example: |
 |
|
|
 |
 |
| Translate this page: |
 |
|