Maxa wrote: > Hello to all, > I dont know how to set dbi connection to make connection whith database >EmplDir_MSAccess.mdb???? > > -Create database connection string, login and password variables > > my $strConn = "EmplDir_MSAccess.mdb"; > > my $strLogin = "Admin"; > > my $strPassword = ""; > > -Open the connection > > $dbh = DBI->connect( $strConn, $strLogin, $strPassword, { PrintError => 0, >RaiseError => 0 } ); <--- this is line 60 > > and this is the error mesage: > > Can't connect(Provider=Microsoft.Jet.OLEDB.4.0;Data >Source=EmplDir_MSAccess.mdb;Persist Security Info=False HASH(0x17f320c)), no >database driver specified and DBI_DSN env var not set at C:/perl/site/lib/Common.pm >line 60 > > 1.I don't know how to fix this problem??? > > 2.Can I transfer EmplDir_MSAccess.mdb to some other database and how make setings?? > > Thanks in advance, > > Dragan >
you need DBD::OBDC module install && read perldoc DBD::OBDC -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]