0 begin
1 with DM.queXXX do
2 begin
3 Close;
4 SQL.Clear;
5 SQL.Add('insert into tabXXX');
6 SQL.Add('values ('+strtoint(Edit1.Text)+')');
7 ExecSQL;
8 end;
9 end;
0 begin
1 with DM.queXXX do
2 begin
3 Close;
4 SQL.Clear;
5 SQL.Add('insert into tabXXX');
6 SQL.Add('values ('+Edit1.Text+')');
7 ExecSQL;
8 end;
9 end;