Trevor G
Registered User.
- Local time
- Today, 04:07
- Joined
- Oct 1, 2009
- Messages
- 2,341
Hi I have been toying with an idea for a while and want to see if this easily managable.
I have a table which lists peoples names, uses there WindowsID and also has a list of permissions ranging from 1 to 3, 1 is novice, 2 is user and 3 is either super user or manager.
I have created 3 forms for each level.
What I would like to aim for is that when the database is opened, there is a check to see who has opened the database through the windowsID and check which permission they have and therefore it opens the correct form, so example
Trevor opens the database it checks my windowsID and directs me to frmUserLevel3
Paul opens the database it checks his windowsID and directs him to frmUserLevel2
Jack opens the database it checks his windowsID and directs him to frmuserlevel1 (I haven't added Jacks details to the attached database as yet)
I will add the necessary code to say if they aren't listed an email will be sent to the developers, which I already have.
I have attached a very basic database which has the staff table and the 3 forms in.
If anyone can assist on this thread I would be very grateful.
I have a table which lists peoples names, uses there WindowsID and also has a list of permissions ranging from 1 to 3, 1 is novice, 2 is user and 3 is either super user or manager.
I have created 3 forms for each level.
What I would like to aim for is that when the database is opened, there is a check to see who has opened the database through the windowsID and check which permission they have and therefore it opens the correct form, so example
Trevor opens the database it checks my windowsID and directs me to frmUserLevel3
Paul opens the database it checks his windowsID and directs him to frmUserLevel2
Jack opens the database it checks his windowsID and directs him to frmuserlevel1 (I haven't added Jacks details to the attached database as yet)
I will add the necessary code to say if they aren't listed an email will be sent to the developers, which I already have.
I have attached a very basic database which has the staff table and the 3 forms in.
If anyone can assist on this thread I would be very grateful.