Hi there
Basically, I have a global variable and when that is true, then the user has administrative privilages and is able to access the whole database. I have coded it such that when this boolean is not true, the user only has limited privilages. This is controlled by a boolean flag for each user.
My question is: is it possible to write a line of code that disables access to design view for each of the users that do not have administrative privilages?
I have it working for command buttons/text boxes etc i.e. disable delete buttons if the user is not an admin, but I'm unsure about access components like design view.
Cheers.
Basically, I have a global variable and when that is true, then the user has administrative privilages and is able to access the whole database. I have coded it such that when this boolean is not true, the user only has limited privilages. This is controlled by a boolean flag for each user.
My question is: is it possible to write a line of code that disables access to design view for each of the users that do not have administrative privilages?
I have it working for command buttons/text boxes etc i.e. disable delete buttons if the user is not an admin, but I'm unsure about access components like design view.
Cheers.