Hi, I'm new here and have a question about implementing some basic security in Access 2000/2003. I've done a search on the existing threads, but can't find anything that looks like what I'm after.
I have a custom built switchboard that has 7 options on it.
In the background, I have a TblUserName table, which has Name, ID and several columns for access rights (current, option1, option2, option3..option 7). These are simple Yes/No columns to indicate whether a user should have access or not.
Thanks to some of the threads on here, I can capture the current windows login name of a user and display it on a form (Thanks to ADzeii for his Insight - How to generate a user list).
What I want to be able to do, is retreive the user id on open, and then show/hide some of the options from the switchboard dependent on the value in the relevant field.
In terms of actually hiding fields, I can do that bit, it's the select based on information from a table that I'm struggling with.
Can anyone help with this please. I'm fairly experienced with Access and have some VB skills but not a lot.
Thanks
I have a custom built switchboard that has 7 options on it.
In the background, I have a TblUserName table, which has Name, ID and several columns for access rights (current, option1, option2, option3..option 7). These are simple Yes/No columns to indicate whether a user should have access or not.
Thanks to some of the threads on here, I can capture the current windows login name of a user and display it on a form (Thanks to ADzeii for his Insight - How to generate a user list).
What I want to be able to do, is retreive the user id on open, and then show/hide some of the options from the switchboard dependent on the value in the relevant field.
In terms of actually hiding fields, I can do that bit, it's the select based on information from a table that I'm struggling with.
Can anyone help with this please. I'm fairly experienced with Access and have some VB skills but not a lot.
Thanks
Comment