Foxtable(狐表)用户栏目专家坐堂 → [求助] 简化命令


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

主题:[求助] 简化命令

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


加好友 发短信
等级:五尾狐 帖子:1029 积分:6497 威望:0 精华:0 注册:2014/1/3 12:49:00
[求助] 简化命令  发帖心情 Post By:2014/6/25 17:35:00 [显示全部帖子]

下面命令如何简化

If e.Col.Name = "分公司"  Then
    e.Cancel = True '禁止进入编辑状态

End If

If e.Col.Name = "操作记录_增加人员"  Then
    e.Cancel = True '禁止进入编辑状态

End If

If e.Col.Name = "操作记录_增加日期"  Then
    e.Cancel = True '禁止进入编辑状态

End If

If e.Col.Name = "操作记录_修改人员"  Then
    e.Cancel = True '禁止进入编辑状态

End If

If e.Col.Name = "操作记录_修改日期"  Then
    e.Cancel = True '禁止进入编辑状态

End If

 回到顶部