title: Cannot perform this operation on a closed dataset
body: <p>I am just trying to execute the "select" sql statement using TADOQuery component, but when TADOQuery's "Open" statement is executing I am getting following error:</p>
  
  <pre>
  Cannot perform this operation on a closed dataset... 
  </pre>
  
  <pre><code>ADOQuery1.Active := False;
  ADOQuery1.SQL.Clear;
  ADOQuery1.SQL.Add('Select * from Table1 where Column1 = &lt;value&gt;');
  ADOQuery1.Open;
  </code></pre>
  
  <p>Any guess why I am getting this error ?</p>