Self. ASQLite3Query1. Open;
If Self. ASQLite3Query1. RecordCount & gt; 0 then
The begin
Self. ASQLite3Query1. Edit;
Self. ASQLite3Query1. FieldByName (' num.) AsInteger:=1;
Self. ASQLite3Query1. FieldByName (' name '). AsString:='week';
Self. ASQLite3Query1. Post;
end;
So why not? Don't have to use SQL statements to commit the changes?
CodePudding user response:
Seems to be yes, I use SQLite3. Pas, SQLiteTable3. Pas write SQL submitted by yourselfCodePudding user response:
Self. ASQLite3Query1. Edit; Such as adding a Self. ASQLite3Query1. First try