If I use any condition apart from SELECT *
whilst querying an Access DB with ODBC I get the following error: No tuples available at this result index
Any ideas ? Here's the particular GROUP BY query:
$result = odbc_exec($this->connection, "SELECT * FROM MyTable GROUP BY MyColumn");
odbc_result_all($result);
EDIT
After running the query directly from mdbtools' command line tool, I get the following:
Error at Line : syntax error near GROUP