Re: HELP! ODBC Connection String
- Posted by Matt Lewis <matthewwalkerlewis at yahoo.com> Nov 28, 2004
- 514 views
Alex Chamberlain wrote: > > I've downloaded Matt Lewis's ODBC wrapper and im really confused with the > connection > string business. > > I've got database.dsn that connects to database.mdb, an MS Access database, so > how > do I use it? > > It would be great if anyone had a example program or if they could explain how > to use > a filedsn. > I've never used a filedsn, but I'd recommend trying something like:
conn = openDriverConnectionODBC( "FILEDSN=database.dsn", hwnd, SQL_DRIVER_PROMPT )
Matt Lewis