按钮仅对Admin而不是用户可见 [英] Button visible only for Admin and not to users
本文介绍了按钮仅对Admin而不是用户可见的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个登录页面(form1),当我们进入登录页面时,它需要一个新的表单(form3)来查看他们的信息。我有一个按钮来添加新用户,谁输入表单就可以了访问名为添加新用户的按钮。
但我想让它只在ADMIN中显示出来。登录。请帮助我,我是Access的新手。
解决方案
展开 | 选择 | 换行 | 行号
< blockquote>嗨Stev,
感谢您的帮助。我尝试了这个代码,它只是隐藏了所有用户的按钮,我的意思是即使是ADMIN。请帮忙。
让我告诉你全部细节。 " USER_NAME"来自table1,即来自User ID。因此,在加载表单时,如果它是ADMIN,那么它应该具有访问权限。 PLZ帮助我。
发布你编写代码的方式,所以我可以看到更多细节......也许还有几个用户ID和用户名...>
Hi , I have a login page(form1),when we enter the login page it takes to a new form(form3) to view their informations.And i have a button to add new users,Who ever enters the form can access the button called "Add New User".
but i want to make it visible only when the "ADMIN" log in. Please help me I am new to Access.解决方案Expand|Select|Wrap|Line Numbers
Hi Stev,
Thanks for your help. I tried this code and it is just hiding the button for all the users, I mean even for the ADMIN. Please help.
let me give you the full details. "User_name" comes from the table1 ie from "User ID". So on loading the form , if it is ADMIN then it should have access. plz help me.
post the way you wrote the code, so i can see more specifics...and perhaps a couple user IDs and usernames...
这篇关于按钮仅对Admin而不是用户可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取
|
15天全站免登陆