Hi All,
A security question has arisen again!!
I have just set up security levels on a distributed Access 2k db. The security stuff is all quite new to me but things are going well so far. However I have a report form where the users can select a variety of reports. The reports open in preview mode from a command button. Some reports should not be opened by certain User Level Groups. For example:
Full Data Users can not open the management reports. If a full Data User trys to open a management report I get the error message "You do not have permission for this report" and then it gives the user the option to "End" or "Debug" which is not very friendly. Therefore the user level permissions are working but how do I make the error message more friendly? what I would like to do is if the management report button is selected by a user group that does not have permission a message appears with "Sorry. You do not have permission to open this report. + vbOKonly" OR hide the management report button to Full Data Users.
How do I do this and what VB is needed?
Thanks
Cashe ;-)
A security question has arisen again!!
I have just set up security levels on a distributed Access 2k db. The security stuff is all quite new to me but things are going well so far. However I have a report form where the users can select a variety of reports. The reports open in preview mode from a command button. Some reports should not be opened by certain User Level Groups. For example:
Full Data Users can not open the management reports. If a full Data User trys to open a management report I get the error message "You do not have permission for this report" and then it gives the user the option to "End" or "Debug" which is not very friendly. Therefore the user level permissions are working but how do I make the error message more friendly? what I would like to do is if the management report button is selected by a user group that does not have permission a message appears with "Sorry. You do not have permission to open this report. + vbOKonly" OR hide the management report button to Full Data Users.
How do I do this and what VB is needed?
Thanks
Cashe ;-)