prathap has asked for the wisdom of the Perl Monks concerning the following question:
I am using Perl 5.8.8 and i use
to connect to access. This used to work with access 2000. but now in access 2007 the file extension has been changed to .accdb so i changed the code toDBI->connect("dbi:ODBC:driver=Microsoft Access Driver (*.mdb );dbq=$fi +le"
but it is giving errorDBI->connect("dbi:ODBC:driver=Microsoft Access Driver (*.mdb, *.accdb) +;dbq=$file"
Can somebody help me to resolve this error.[Microsoft][ODBC Microsoft Access Driver] Not a valid file name. (SQL- +HY000)(DBD: db_login/SQLConnect err=-1)
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Unable to connect to access 2007 from perl
by bingos (Vicar) on Mar 18, 2008 at 08:54 UTC | |
by Anonymous Monk on Mar 18, 2008 at 09:45 UTC | |
|
Re: Unable to connect to access 2007 from perl
by digger (Friar) on Mar 18, 2008 at 15:51 UTC | |
by prathap (Initiate) on Mar 19, 2008 at 04:39 UTC | |
by perl_gem (Initiate) on Feb 27, 2012 at 06:58 UTC | |
|
Re: Unable to connect to access 2007 from perl
by Anonymous Monk on Jan 08, 2010 at 22:04 UTC |