以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  删除代码  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=146742)

--  作者:rgbjwjb
--  发布时间:2020/3/1 17:39:00
--  删除代码
删除按钮的代码这样如下,我反复看了没有问题,只是点了之后没有反应:既不报错,也删除不了当前记录,请问什么原因?谢谢!
If Tables("支付明细表").Current IsNot Nothing Then
    If MessageBox.Show("是否删除当前行?","提示",MessageBoxButtons.YesNo,MessageBoxIcon.Question) =DialogResult.Yes Then
        Tables("支付明细表").Current.Delete
    End If
End If


--  作者:有点蓝
--  发布时间:2020/3/1 23:18:00
--  
这一行数据是不是锁定了:http://www.foxtable.com/webhelp/topics/0111.htm