ok non da l'errore e inserisce....
però non mi aggiorna il DBGrid e se provo a chiudere e riaprire con SimpleDataSet1.Close mi dice sempre che "cursor not returned from query"codice:procedure TForm3.InsertBClick(Sender: TObject); begin SimpleDataSet1.DataSet.CommandText := ('Insert into registro (nome,cognome,sesso)values("'+Nome.Text+'","'+Cognome.Text+'",1)'); SimpleDataSet1.Execute; end;
![]()