title: OleDbException: Function is not implemented
body: <p>Does anyone knows what happened? it it does delete all records, but still return an exception</p>
  
  <pre><code>    OleDbConnection dbConn = new OleDbConnection(@"Provider=vfpoledb;Data Source=C:\foxpro");
  
      try
      {
          dbConn.Open();
          using (OleDbCommand command = dbConn.CreateCommand())
          {
              command.CommandText = "execscript[('USE table in 0' + chr(13) + chr(10) + 'DELETE ALL')]";
              command.ExecuteNonQuery();       
          }            
      }
      catch (Exception ex)
      {
          Response.Write(ex.ToString());
      }
      finally
      {
          dbConn.Close();
      }
  </code></pre>
  
  <p>The exception is:</p>
  
  <pre><code>System.Data.OleDb.OleDbException (0x80004005): Function is not implemented. at
  System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr) at
  System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object&amp; executeResult) at 
  System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object&amp; executeResult) at
  System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object&amp; executeResult) at 
  System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) at
  System.Data.OleDb.OleDbCommand.ExecuteNonQuery() at backbuttonclicked.Page_Load(Object sender,
  EventArgs e) in e:\MyProjects\programs\FujiDocumentsPrinting\backbuttonclicked.aspx.cs:line 31
  </code></pre>