I downloaded the components and installed. but still i am getting same error. I am using DBI and ODBC to connect to acces, so do i need any extra modules or updated module for connecting to access 2007.
This is my code :
use DBI;
my($file) = @ARGV;
my $DSN = "DRIVER=Microsoft Access Driver (*.mdb, *.accdb);dbq=$file";
print($DSN);
$dbh = DBI->connect("dbi:ODBC:$DSN", '', '',
{
RaiseError => 0,
AutoCommit => 0,
PrintError => 0,
LongReadLen =>1000,
LongTruncOk => 1
})||die print $DBI::errstr;