Guest_imported
New member
- Jan 1, 1970
- 0
I have several forms that only show certain fields depending on which user is logged on. This works fine but to cut down on adding and deleting users I would like the code to look at what groups a user is in and then that would determine what fields are visible.
At present:
If CurrentUser = "fred.bloggs" Or CurrentUser = "john.smith" then
txtMyTextbox.visible = True
else
txtMyTextbox.visible = False
I would like it to say if CurrentUser is in Admins group then ........
Any Idea's
Thanks
Trium
At present:
If CurrentUser = "fred.bloggs" Or CurrentUser = "john.smith" then
txtMyTextbox.visible = True
else
txtMyTextbox.visible = False
I would like it to say if CurrentUser is in Admins group then ........
Any Idea's
Thanks
Trium