以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  不知道哪里出错,一添加行就出错  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=68755)

--  作者:wgs813
--  发布时间:2015/5/24 11:51:00
--  不知道哪里出错,一添加行就出错
 下载信息  [文件大小:   下载次数: ]
图片点击可在新窗口打开查看点击浏览该文件:管理项目10_201505241143.zip

不知道哪里出错,一添加行就出错
--  作者:大红袍
--  发布时间:2015/5/24 12:01:00
--  

不要字prepareEdit事件写filter代码,要写也写到DataRowAdded 或者Datacolchanged

 

If e.Row("人名") <> User.Name Then
    e.Cancel = True
End If

 

 

\'If user.Group = "经理" Then
    \'Tables("表A").Filter=""
\'Else
  \'Tables("表A").Filter="部门=\'" & User.name & "\'"
\'End If


--  作者:wgs813
--  发布时间:2015/5/24 12:02:00
--  

我试试~~