Foxtable(狐表)用户栏目专家坐堂 → [求助][求助] 各位大神快来帮帮我吧!!!!!!


  共有8357人关注过本帖树形打印复制链接

主题:[求助][求助] 各位大神快来帮帮我吧!!!!!!

帅哥哟,离线,有人找我吗?
yupoco
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:婴狐 帖子:85 积分:630 威望:0 精华:0 注册:2012/12/4 18:52:00
  发帖心情 Post By:2013/1/20 13:38:00 [显示全部帖子]

Dim a As Row = Tables("图纸登记表").current
If a.Locked  = True '如果此行目前锁定
    Messagebox.show("行被锁定,无法删除,请解锁!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information)
Else
    If MessageBox.Show("⌒_⌒确认删除记录吗?","确认",MessageBoxButtons.OKCancel,MessageBoxIcon.Question)=DialogResult.OK Then
        Tables("图纸登记表").Current.Delete
    End If
End If

 回到顶部