Have you set up your ODBC driver via Control Panel (or Computer Management
in W2K)?

Ralph


-----Original Message-----
From: Jerry Preston [mailto:[EMAIL PROTECTED]]
Sent: 20 November 2002 13:05
To: Beginners Perl
Subject: accessing access


Hi!

I am trying to access an access mdb file for the first time.  I get the
following error:

Can't connect(dbi::ODBC:pfawtbls.mdb  ), no database driver specified
and
DBI_DSN env var not set at jfa_data.pl line 147

for the code:

  my $dbh = DBI->connect( "dbi::ODBC:pfawtbls.mdb", "", "", ) or die
"Unable
to connect: ". $DBI::errstr. "<br>";

What am I missing?

Thanks,

Jerry


*******

This message and any attachment are confidential and may be privileged or otherwise 
protected from disclosure.  If you are not the intended recipient, please telephone or 
email the sender and delete this message and any attachment from your system.  If you 
are not the intended recipient you must not copy this message or attachment or 
disclose the contents to any other person.

For further information about Clifford Chance please see our website at 
http://www.cliffordchance.com or refer to any Clifford Chance office.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to