B
Beyond2002
Unregistered / Unconfirmed
GUEST, unregistred user!
With ADOQuery Do
Begin
Close;
SQL.Text := 'DELETE FROM Table1 ';
ExecSQL;
Close;
SQL.Text := 'INSERT INTO Table1 ' ...;
ExecSQL;
End;
不知怎么回事,第一句(DELETE ...)没执行,到底应该如何控制事务?
Begin
Close;
SQL.Text := 'DELETE FROM Table1 ';
ExecSQL;
Close;
SQL.Text := 'INSERT INTO Table1 ' ...;
ExecSQL;
End;
不知怎么回事,第一句(DELETE ...)没执行,到底应该如何控制事务?