Foxtable(狐表)用户栏目专家坐堂 → [求助]代码。。


  共有4878人关注过本帖平板打印复制链接

主题:[求助]代码。。

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


加好友 发短信
等级:贵宾 帖子:35433 积分:178524 威望:0 精华:3 注册:2013/3/30 16:36:00
  发帖心情 Post By:2013/6/3 8:52:00 [只看该作者]

If e.Row.IsNull("审批人") = False Then '如果审批人列不为空

If e.col.name <> "a" then

              e.Cancel = True '则禁止编辑
          else if e. e.Row.IsNull("b")=false then
           e.Cancel = True '则禁止编辑
        end if
End If

 回到顶部