If MsgBox("确定删除该条数据", 1, "警告") = vbOK Then
Adodc1.Recordset.Delete '删除记录
Adodc1.Recordset.Update '更新数据表
End If
提示“行句柄引用了一个已被删除的行或被标识为删除的行”
改成这样
If MsgBox("确定删除该条数据", 1, "警告") = vbOK Then
Adodc1.Recordset.Delete '删除记录
Adodc1.Recordser.Movenext
Adodc1.Recordset.Update '更新数据表
End If
仍然有这样的提示,请问怎么处理不提示,实在不行告诉我“On error resume next”放哪里
代码是我手打的,程序中没问题!
谢谢大家,自己解决了。
你的和我原来的一模一样呢。
本回答被提问者采纳