Re: HELP! ODBC Connection String
- Posted by "Alex Chamberlain" <alex at ear26.freeserve.co.uk> Nov 28, 2004
- 530 views
I worked it out thanks you must use the full path for some reason! I used current_dir() ----- Original Message ----- From: "Matt Lewis" <guest at RapidEuphoria.com> To: <EUforum at topica.com> Sent: Sunday, November 28, 2004 10:48 AM Subject: Re: HELP! ODBC Connection String > > > posted by: Matt Lewis <matthewwalkerlewis at yahoo.com> > > 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: > }}} <eucode> > conn = openDriverConnectionODBC( "FILEDSN=database.dsn", hwnd, SQL_DRIVER_PROMPT ) > </eucode> {{{ > > Matt Lewis > > > >