Hi Everyone,
I have added user level security to my database-this all seems fine, however I need to stop particular users' from viewing a certain form. To view the form a user clicks a command button-this searches for records based on the current record displayed. If there are no matches, then a message is displayed "Sorry No data for this product", if there are matches then a form opens with the relevant records.
I have set the Access security so that the people in question cannot view the form, however when these people click the button they get the "Sorry No data for this product" message.
I need to be able to change this message so that if they are able to view it then it displays either the form with the records or the 'no data message', if they are not allowed to view it then display a message "Sorry not authorized!" or something.
I'm not sure how I do this-can anyone help?
Many Thanks!
Sasha.
I have added user level security to my database-this all seems fine, however I need to stop particular users' from viewing a certain form. To view the form a user clicks a command button-this searches for records based on the current record displayed. If there are no matches, then a message is displayed "Sorry No data for this product", if there are matches then a form opens with the relevant records.
I have set the Access security so that the people in question cannot view the form, however when these people click the button they get the "Sorry No data for this product" message.
I need to be able to change this message so that if they are able to view it then it displays either the form with the records or the 'no data message', if they are not allowed to view it then display a message "Sorry not authorized!" or something.
I'm not sure how I do this-can anyone help?
Many Thanks!
Sasha.