Hey guys,
So I thought about this different method of making my access database secure within my workplace, I just can't implement it I really hope I can.
I have a table of employees where one of the fields includes a check box whether or not the employee is an Administrator. The filed name is "Administrator".
Currently on my form the information is queried according to the user's windows login ID. The form retrieves the information based on an employee query where the criteria of the employee field is a function that retrieves the windows login ID.
The only thing I'm looking to do really, is to check whether or not the user is an administrator using it's associated check box, and if so, remove the function from the criteria of the employee query. The reason I say remove is so that the Admin can have access to all other employee information.
I thought of alternating the Where statement in the query but I'm still a novice at this. Perhaps I can alter the function that retrieves the windows login ID?
Any help would be greatly appreciated; I hope all information is provided.
So I thought about this different method of making my access database secure within my workplace, I just can't implement it I really hope I can.
I have a table of employees where one of the fields includes a check box whether or not the employee is an Administrator. The filed name is "Administrator".
Currently on my form the information is queried according to the user's windows login ID. The form retrieves the information based on an employee query where the criteria of the employee field is a function that retrieves the windows login ID.
The only thing I'm looking to do really, is to check whether or not the user is an administrator using it's associated check box, and if so, remove the function from the criteria of the employee query. The reason I say remove is so that the Admin can have access to all other employee information.
I thought of alternating the Where statement in the query but I'm still a novice at this. Perhaps I can alter the function that retrieves the windows login ID?
Any help would be greatly appreciated; I hope all information is provided.