I am pretty sure that what access offers is not what I am looking for but I am happy for you guys to tell me I am wrong.
I want to code for different users. Not only for forms/tables etc but also the controls they see on a form and for example when a person clicks on something my code does different things based on the type of user they are.
My users structure at the moment is not complicated but I would like to learn how to do this the "right way" and I hope make it future proof.
I hate passwords and do not want to build passworded levels. Either the person has the right to see or do something or they do not.
I have a users table which contains there names, ID, contact details. The easiest but I suppose the wrong way of doing this would be to add a column for each user type. eg Admin - Special User type 1 - etc - Normal User. This would mean that with a new user right I would have to change coding and tables.
The other idea I had was to have only one field and use some kind of numbering system. 1 being Admin - 1000 being normal user. Then I could add user types between these numbers. This might get complicated with coding later.
So how should I be doing this.
I want to code for different users. Not only for forms/tables etc but also the controls they see on a form and for example when a person clicks on something my code does different things based on the type of user they are.
My users structure at the moment is not complicated but I would like to learn how to do this the "right way" and I hope make it future proof.
I hate passwords and do not want to build passworded levels. Either the person has the right to see or do something or they do not.
I have a users table which contains there names, ID, contact details. The easiest but I suppose the wrong way of doing this would be to add a column for each user type. eg Admin - Special User type 1 - etc - Normal User. This would mean that with a new user right I would have to change coding and tables.
The other idea I had was to have only one field and use some kind of numbering system. 1 being Admin - 1000 being normal user. Then I could add user types between these numbers. This might get complicated with coding later.
So how should I be doing this.