cheesemaster2
Programmer
Hello-
I've been working on a project for quite some time now, and I'd like to finish it soon, because it's driving me insane.
The basic idea behind the database is very simple. Only about 10 users in my company from around the state of Michigan are supposed to enter in a record of their daily activities, or at least keep track of travel, meetings, workshops, etc. So basically, they're dealing with a bunch of checkboxes, and some text fields where they type stuff in. That's about all there is to it... the administrator doesn't even need to compile reports unless he or she feels so inclined. There is also one special user called "viewing only", which is able to view all information in the database, but not add or change any, so that other employees of the company can.. I don't know, see if Johnson in Accounting has been falsely claiming lunches during business trips or something.
The part that's causing all the problems and delays is user-level security. I've read through a million FAQs, and eventually got it set up, and sure.. users only have access to things they should have access to. But beyond that, it doesn't DO anything. What I need is for each user to only be able to view and their own records. I found a nice FAQ that explained how to use a filter so users can only see their own rows in shared tables, and.. it doesn't do anything. All users can still see (and edit all data). Besides this, the "viewing only" user should is able to view all records, but not make any edits. Assuming I get the normal and viewing users to work (plus the administrator, which seems to be the only thing that does work properly, the project is basically done.
One issue that's really bothering me is the automatic login form in Access (I'm using 2000, by the way). Since there are very few people using the database, it would be nice to have my own login form, where the user can simply choose their name from a list, type in their password, and away they go. If the user wants to view all data in the database, they can log in as "viewing only" with no password, and do just that. I found yet another FAQ, which automatically takes the name of the person logged in at the default Access login thing, and then allows you to use it to alter things based on the user. Which is just what I want, right? Only it doesn't work. No matter who I log in as, it always pulls up my name (maybe because I'm working on my own computer, and I'm the owner of it?). If I log in as someone else, and check out the security stuffs via Access' menues, it does indeed show the login name I used, but it doesn't affect the visible data in any way (except for occasionaly not letting me do anything at all). By the way, I found another FAQ (notice a theme?) which suggests having the user log in in a seperate database, then sending their login info to the real database. That isn't working for me, either.
So, to bring all this to a slightly more coherent question, here are the main issues I'm dealing with:
-----------
1) How can I limit the users to only being able to view their own records?
2) Is it possible to get around Access' default user login?
-----------
There's a wealth of knowledge on the interweb which explains how to set up security in Access and get it working, but apparently not very much at all dealing with what to do once you've done that. If anyone can help, I'll be hugely greatful, and you'll probably also be helping out many other people.
I truly appreciate any words of wisdom that anyone can share.
-cheesemaster(2)
I've been working on a project for quite some time now, and I'd like to finish it soon, because it's driving me insane.
The basic idea behind the database is very simple. Only about 10 users in my company from around the state of Michigan are supposed to enter in a record of their daily activities, or at least keep track of travel, meetings, workshops, etc. So basically, they're dealing with a bunch of checkboxes, and some text fields where they type stuff in. That's about all there is to it... the administrator doesn't even need to compile reports unless he or she feels so inclined. There is also one special user called "viewing only", which is able to view all information in the database, but not add or change any, so that other employees of the company can.. I don't know, see if Johnson in Accounting has been falsely claiming lunches during business trips or something.
The part that's causing all the problems and delays is user-level security. I've read through a million FAQs, and eventually got it set up, and sure.. users only have access to things they should have access to. But beyond that, it doesn't DO anything. What I need is for each user to only be able to view and their own records. I found a nice FAQ that explained how to use a filter so users can only see their own rows in shared tables, and.. it doesn't do anything. All users can still see (and edit all data). Besides this, the "viewing only" user should is able to view all records, but not make any edits. Assuming I get the normal and viewing users to work (plus the administrator, which seems to be the only thing that does work properly, the project is basically done.
One issue that's really bothering me is the automatic login form in Access (I'm using 2000, by the way). Since there are very few people using the database, it would be nice to have my own login form, where the user can simply choose their name from a list, type in their password, and away they go. If the user wants to view all data in the database, they can log in as "viewing only" with no password, and do just that. I found yet another FAQ, which automatically takes the name of the person logged in at the default Access login thing, and then allows you to use it to alter things based on the user. Which is just what I want, right? Only it doesn't work. No matter who I log in as, it always pulls up my name (maybe because I'm working on my own computer, and I'm the owner of it?). If I log in as someone else, and check out the security stuffs via Access' menues, it does indeed show the login name I used, but it doesn't affect the visible data in any way (except for occasionaly not letting me do anything at all). By the way, I found another FAQ (notice a theme?) which suggests having the user log in in a seperate database, then sending their login info to the real database. That isn't working for me, either.
So, to bring all this to a slightly more coherent question, here are the main issues I'm dealing with:
-----------
1) How can I limit the users to only being able to view their own records?
2) Is it possible to get around Access' default user login?
-----------
There's a wealth of knowledge on the interweb which explains how to set up security in Access and get it working, but apparently not very much at all dealing with what to do once you've done that. If anyone can help, I'll be hugely greatful, and you'll probably also be helping out many other people.
I truly appreciate any words of wisdom that anyone can share.
-cheesemaster(2)