Murray Moffatt wrote:
Hi Wind,
At 13:02 17/05/2004 +0800, you wrote:
You have two choose:
1. search the windows register for the datasource that you created using ODBC Control Panel, you can create the same register entry programmatically.
2. You can just use such a string as your ConnectionString "Driver={Microsoft Access Driver (*.mdb)};Dbq=c:\\DatabasePath\\dbaccess.mdb;Uid=;Pwd=;"
Please replace the Driver,Dbq and so on to the real values used by SQLite ODBC, as in choose 1 you can get them from the register.
I like the sound of your option 2. Is this what is known as a "DNS Less" connection?
Yes. You can have a look at HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ for requested informations.
Regards Wind
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]