I got the error message with a "wrong" record in my Access database ... (column types, etc.) The message apears at line 3 :
1: $result = $dbc->execute("select name from tablename");
2: while(!$result->eof()) {
3: print $rs->fields['name']->value()."<br>";
4: $result->movenext();
5: }
Just remove (or change) the record in the database and the query runs fine. (I hope)