title: Error at Delphi : Dataset not in edit or insert mode
body: <p>Right now I'm struggling to solve a bug that caused by the dataset mode at Delphi (using ADODataset), </p>
  
  <p>details as below for the add button mechanism : </p>
  
  <pre><code>IDMain: =self.DBTextIDUser.Caption+'-'+self.DBEditWorkingDate.Text;
  datamodule1.ADODataSetWorkingDetails.Append;
  
  with datamodule1.ADODataSetWorkingDetails do
  
  begin
  
    dbgridworkinghours.Fields[0].AsString := IDMain;
    dbgridworkinghours.Fields[7].AsString := self.DBTextIDUser.Caption;
    dbgridworkinghours.Fields[8].AsString := self.DBTextName.Caption;
    dbgridworkinghours.Fields[9].AsString := self.DBEditWorkingDate.Text;
    dbgridworkinghours.Fields[11].AsString := self.DBTextPeriod.caption;
    dbgridworkinghours.Fields[10].AsString := self.DBTextToday.Caption;
  
  end;
  </code></pre>
  
  <p>I already set the adodataset to append mode at the save button :</p>
  
  <pre><code>datamodule1.ADODataSetWorkingDetails.post;
  </code></pre>
  
  <p>when I click the save button, an error appears that:</p>
  
  <blockquote>
    <p>The adodataset not in edit/insert mode</p>
  </blockquote>
  
  <p>I already used this mechanism at the other form and it works</p>
  
  <p>note: I already tried setting the adodataset mode to insert, but still faced the same error</p>