以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  如何用角色控制对表的(编辑)权限 认真学狐表问题1  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=184820)

--  作者:yangze531
--  发布时间:2023/1/6 11:24:00
--  如何用角色控制对表的(编辑)权限 认真学狐表问题1
想用角色控制,对表或者(窗口)权限控制?
--  作者:有点蓝
--  发布时间:2023/1/6 11:30:00
--  
参考:http://www.foxtable.com/webhelp/topics/2346.htm

比如
If User.IsRole("经理") =false Then
    e.Form.Controls("Button1").Enabled = False
    e.Form.Controls(
"Button3").Enabled = False
End
 If