LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Path to database - SQL Toolkit

Hi !

I succesfully use SQL to maintain a database. Now I'd like to get the directory
name where that database is located as a character string. Again: opening
the database there's no problem after DBConnect( "DSN=SOFTPROD" ) but now
I'd like to get the directory where DBConnect found the database (it uses
the ODBC settings I suppose). Does anybody know ?
0 Kudos
Message 1 of 2
(3,127 Views)
I think you have to search in the MSDN to use directly the ODBC functions.
The SQLtoolkits functions such DBTables(), DBDatabase() can't do such a thing.
The ODBC functions allows you to create a DSN, and ....


"Han Stehmann" wrote:
>>Hi !>>I succesfully use SQL to maintain a database. Now I'd like to get
the directory>name where that database is located as a character string.
Again: opening>the database there's no problem after DBConnect( "DSN=SOFTPROD"
) but now>I'd like to get the directory where DBConnect found the database
(it uses>the ODBC settings I suppose). Does anybody know ?
0 Kudos
Message 2 of 2
(3,127 Views)