DBI and DBF Files
- From: samuel_zheng@xxxxxxxxxxxxx (Samuel_Zheng)
- Date: Thu, 19 Jul 2007 20:30:15 -0400
Hi Gurus,
I need your help. I am using active perl 5.8.8, windowsXP second edition. I am trying to access an old app by using perl and odbc. I created a system DSN in ODBC data source administrator and I tested by using crstal report writer. Things are fine. I use DBI (1.58 & dbd-odbc is 1.13) through this DSN(odbc) to read an old dBaseIII file, only one record can be retrived while there are two in the file. The sql is the following:
$sql="Select size, color, qty, totship from smtran02 where sono='S9190' order by size, color";
$dbh=DBI->connect($dsn,$user,$pswrd,$driver,{RaiseError=>1}) or die "Database connection not made: $DBI::errstr";
$sth = $dbh->prepare($sql);
$sth->execute();
do you know any thing about it or any idea how to access an old dBaseIII file? Thanks.
Samuel Zheng
- Follow-Ups:
- Re: DBI and DBF Files
- From: Ron Savage
- Re: DBI and DBF Files
- Prev by Date: Re: looks like one database from the outside, but it's two inside
- Next by Date: Re: DBI and DBF Files
- Previous by thread: looks like one database from the outside, but it's two inside
- Next by thread: Re: DBI and DBF Files
- Index(es):