ChronicFear
Registered User.
- Local time
- Yesterday, 21:56
- Joined
- Oct 18, 2007
- Messages
- 66
Hi,
I have a form that is linked to a table and displays employee information (address, phone number, etc). It shows this information for both work and personal. I would like to set viewing privilages so that managers can view all the information for everyone, all employees can view everyone's work information, and any given employee can view their own work and personal information, but not the personal info of anyone else.
I've been able to get my form to do each of those things seperately, but not all at the same time. So for example, I can write an If statement to check the user's ID and if it matches a manager in the table, then it shows everything, else it only shows work info. I've also tried filtering by user ID so that the person can view their own record, but then they cant see anyone else's.
I would appreciate suggestions on how I might go about accomplishing this.
Thanks,
CF
I have a form that is linked to a table and displays employee information (address, phone number, etc). It shows this information for both work and personal. I would like to set viewing privilages so that managers can view all the information for everyone, all employees can view everyone's work information, and any given employee can view their own work and personal information, but not the personal info of anyone else.
I've been able to get my form to do each of those things seperately, but not all at the same time. So for example, I can write an If statement to check the user's ID and if it matches a manager in the table, then it shows everything, else it only shows work info. I've also tried filtering by user ID so that the person can view their own record, but then they cant see anyone else's.
I would appreciate suggestions on how I might go about accomplishing this.
Thanks,
CF