terça-feira, 4 de novembro de 2014

DBGrid - How to force data to be saved into the DB

Try this line:

   ZQuery_Testes.Open;
   ZQuery_Testes.Edit;
   ZQuery_Testes.FieldByName('result').AsString:=result;
   ZQuery_Testes.Post;
   ZQuery_Testes.ApplyUpdates;