Then you declare a new connection likeuse Win32::ODBC; $DSN = "DRIVER=Microsoft Access Driver (*.mdb);FIL=MSAccess;DriverId=2 +5;DBQ=F:/webroot/Database/db1.mdb"; (this is the + actual location of your .mdb file)
$db=new Win32::ODBC($DSN); and run a query: $db->Sql("SELECT * FROM Table"); $db->FetchRow(); %hash = $db->DataHash; $db->Close();
In reply to Re: MS Access DB and WIN32::ODBC or ADO
by Eugene
in thread MS Access DB and WIN32::ODBC or ADO
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |