On Thu, Oct 11, 2001 at 04:38:54PM +0200, Steffen Goeldner wrote:
>
> my test script raises the following error:
>
> Can't set DBI::st=HASH(0x1870f8c)->{NAME}: unrecognised attribute
> at C:/opt/perl/site/lib/DBD/ADO.pm line 1144.
>
> The script is very simple:
>
> use DBI();
>
> $\ = "\n";
> $, = ": ";
>
> my $dbh = DBI->connect or die $DBI::errstr;
> $dbh->{ RaiseError } = 1;
> $dbh->{ PrintError } = 1;
>
> my $sth = $dbh->func('adSchemaPrimaryKeys','OpenSchema');
>
> while ( my $row = $sth->fetch )
> {
> print @$row;
> }
>
> The DBI environment is:
>
> DBI_DSN=dbi:ADO:Provider=Microsoft.Jet.OLEDB.4.0;Data
> Source=M:\incoming\KoRa_new.mdb
> DBI_TRACE=9
>
>
> Any ideas? Attached is a trace file.
A bug in the code. Actually a number of bugs. Fixed in the next
release, hopefully early next week. Let me know if you need a
"pre-release" version to work with.
Thanks,
Tom
--
Thomas A. Lowery
See DBI/FAQ http://tlowery.hypermart.net
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com