in reply to MS Access DB and WIN32::ODBC or ADO
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();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: MS Access DB and WIN32::ODBC or ADO
by buzzcutbuddha (Chaplain) on May 23, 2000 at 16:33 UTC | |
by Anonymous Monk on Jan 16, 2001 at 07:38 UTC | |
by RatArsed (Monk) on Aug 13, 2001 at 17:52 UTC |