title: WHERE clause causing error in qsqlquery. Query works without WHERE clause
body: <p>I am working on a project in which I take data from the input fields and update the data in the data base based on the serial no.
  Here is my code:</p>
  <pre><code>QSqlQuery sqry;
  if(sqry.prepare(&quot;UPDATE second_weight &quot;
                  &quot;SET s_weight_type=:s_weight_type, s_weight=:s_weight, s_driver_included=:s_driver_included,s_amount=:s_amount,&quot;
                  &quot;s_paid_status=:s_paid_status, sdate=:sdate, stime=:stime&quot;
                  &quot;WHERE first_weight_FK = :s_sID&quot;)){
      sqry.bindValue(&quot;:s_weight_type&quot;,weightstrSec);
      sqry.bindValue(&quot;:s_weight&quot;,weightSec);
      sqry.bindValue(&quot;:s_driver_included&quot;,dIncStrSec);
      sqry.bindValue(&quot;:s_amount&quot;,amntSec);
      sqry.bindValue(&quot;:s_paid_status&quot;, statusSec);
      sqry.bindValue(&quot;:s_sdate&quot;,datevalSec);
      sqry.bindValue(&quot;:s_stime&quot;,timevalSec);
      sqry.bindValue(&quot;:s_sID&quot;,srStrSec);
      sqry.exec();
  </code></pre>
  <p>I have tried running this query without WHERE clause and it works that way. But when I use WHERE clause following error is generated.</p>
  <pre><code>QODBCResult::exec: Unable to execute statement: &quot;[Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'Pa_RaM006 first_weight_FK = Pa_RaM007'.&quot;
  </code></pre>
  <p>I am working with MS ACCESS database file. Can Anyone help me with this?
  Thank you.</p>