Home > Back-end >  Consult SQLite3 question!
Consult SQLite3 question!

Time:11-05

Self. ASQLite3Query1. SQL. Text:='Select * from the info';
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 yourself

CodePudding user response:

Self. ASQLite3Query1. Edit; Such as adding a Self. ASQLite3Query1. First try
  • Related