Help with odbc please, getting error

Upozornění: Tohle vlákno je hodně staré a informace nemusí být platné pro současné Nette.
frocco
Člen | 46
+
0
-

Hi,

I am getting:
SQLSTATE[IM001]: Driver does not support this function: driver doesn't support meta data

Here is my code:

   $connectionString = "odbc:DRIVER={Client Access ODBC Driver (32-bit)}; ".
						"SYSTEM={$dbHost}; ".
					//	"DATABASE={$dbName}; ".
						"UID={$dbUsername}; ".
						"PWD={$dbPassword}; ";

$connection = new Connection($connectionString, "", "");

$data = $connection->query('SELECT * FROM FARWRK.JOBCODES');
$this->template->posts = $data;
<div n:foreach="$posts as $post" class="post">

Editoval frocco (7. 4. 2017 17:15)