title: 'cursor is in BOF position' error
body: <p>On before delete of the table I have :</p>
  
  <pre><code>procedure TData_Module.MyTableBeforeDelete(DataSet: TDataSet);
  begin    
  if MessageDlg('Are you sure you want to delete the record written by '+
                    QuotedStr(MyTable.FieldByName('written_by_who').AsString),mtConfirmation,[mbYes,mbNo],0) = mrYes then
      MyTable.Delete;
  end;
  </code></pre>
  
  <p>However, on trying I get the error :
  ...cursor is in BOF position</p>
  
  <p>What goes ? Database is Accuracer.</p>
  
  <p>edit : The entire code above :)</p>