Z
zhangqingyun200
Unregistered / Unconfirmed
GUEST, unregistred user!
mydata.ADOQuery5.Delete;
mydata.ADOQuery5.ExecSQL;
mydata.ADOQuery5.Close;
mydata.ADOQuery5.SQL.Clear;
mydata.ADOQuery5.SQL.Add('update guocheng1 set xh=xh-1 where xh >'''+label5.caption+'''') ; ///////////让删除次记录以后的序号都-1
mydata.ADOQuery5.ExecSQL;
label5.caption//////删除记录序号
帮我看看为什么所有序号都-1
mydata.ADOQuery5.ExecSQL;
mydata.ADOQuery5.Close;
mydata.ADOQuery5.SQL.Clear;
mydata.ADOQuery5.SQL.Add('update guocheng1 set xh=xh-1 where xh >'''+label5.caption+'''') ; ///////////让删除次记录以后的序号都-1
mydata.ADOQuery5.ExecSQL;
label5.caption//////删除记录序号
帮我看看为什么所有序号都-1