title: Error "Attempt to reclose a closed cursor" executing a query using FireDac
body: <p>I have a problem with a connection to a database in Firebird 2.0</p>
  
  <p>I'm using Delphi Berlin and the connection is made using FireDac. 
  In fact the connection test with the FDConnection1 I do it correctly and if I do a FDConnection1.ExecSQL (v_SQL, []) (where v_SQL I have a delete or an insert, it does it correctly.</p>
  
  <p>The problem appears when I put a fdQuery1 and if I double click on it and on the tab I put a simple query:</p>
  
  <pre><code>select * from tipo_cliente
  </code></pre>
  
  <p>then clicking on the EXECUTE button gives me the following error (and I can not find any of it on the internet):</p>
  
  <blockquote>
  <pre><code>[FireDac][Phys][FB]Dynamic SQL Error
  SQL error code = -501
  Attempt to reclose a closed cursor
  </code></pre>
  </blockquote>
  
  <p>Of course this query if I take it to some Firebird manager, like IBmanager, works correctly</p>