title: Opening and Closing the datasets in Delphi
body: <p>Suppose I have a dataset say <code>dsSample</code> in my Delphi application. To read or write data in a dataset, one must open the dataset. I just wanted to know what is the difference between following statements:</p>
  
  <pre><code>dsSample.Open;
  dsSample.Active := True;
  
  and 
  
  dsSample.Close;
  dsSample.Active := False;
  </code></pre>
  
  <p>If <code>Open</code> and <code>Active</code> perform same operation, why two different keywords for opening and closing the datasets in Delphi?</p>