数据表修改出错,帮帮我!!谢谢了先
xboy 2003-07-23 05:22:18 在程序中用了如下代码,
adoquery1.LockType :=ltOptimistic
adoquery1.Close;
adoquery1.SQL.Clear;
adoquery1.SQL.Add('update table1');
adoquery1.SQL.Add('set');
adoquery1.SQL.Add('Status = 0');
adoquery1.SQL.Add('where batchno = 7');
adoquery1.ExecSQL;
adoquery1.Open;
出错信息 commandText does not return a result set
这是为什么啊