title: BDE says "Field not found" but field exists
body: <p>I have the following query to one of my database tables:</p>
  
  <pre><code>select count(*) as mycount
    from mytable
   where fieldone = :fieldone
     and fieldtwo = :fieldtwo
  </code></pre>
  
  <p>Parameters are correctly loaded into the query (both of type String).</p>
  
  <p>When I run this query outside the app (for instance, through the dbexplore) and replace the parameters with the actual values, I get the correct result. But when running it in the app, I get a <code>Field 'fieldtwo' not found</code> error, right on the Query.Open call.</p>
  
  <p>Why would the BDE not find this field, when it actually exist?</p>
  
  <p><strong>Update:</strong> The following query, executed right after the first one (the one that fails), works fine in the app:</p>
  
  <pre><code>select *
    from mytable
   where fieldone = :fieldone
   order by fieldone, fieldtwo
  </code></pre>