以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  某一用户,进入软件就只能查阅模式怎么设置  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=63392)

--  作者:卷小毛
--  发布时间:2015/1/20 10:03:00
--  某一用户,进入软件就只能查阅模式怎么设置
某一用户,进入软件就只能查阅模式怎么设置

比如“实验” 这个用户

--  作者:有点甜
--  发布时间:2015/1/20 10:04:00
--  

 权限管理一章,你看一下

 

http://www.foxtable.com/help/topics/2253.htm

 


--  作者:卷小毛
--  发布时间:2015/1/20 10:32:00
--  
噢 NO~
--  作者:有点甜
--  发布时间:2015/1/20 10:40:00
--  

 LoadUserSetting事件,写入代码

 

For Each t As Table In Tables
    t.AllowAddNew = False
    t.AllowDelete = False
    t.AllowEdit = False
Next


--  作者:卷小毛
--  发布时间:2015/1/21 17:04:00
--  
俺以为是在AfteOpenProject 事件中设置代码

Select Case User.Name
   
Case "实验"

DataTables("订单").AllowEdit = False

End Select