On 27 Mar, 01:19, "storrboy" <storr...@sympatico.cawrote:
Quote:
I don't know that there is a real 'standard', but I would suggest you
look at each of the things you addressed as separate entities. In my
experience, Customers and Vendors and kept together as 'Companies' (or
contacts or other name) and identified by a 'Vendor field or Customer
field or both. Users are people and are usually assigned to a 'group'.
If you are not using Access security, doing it this way all three
tables can be linked and not duplicate data. An example might be:
>
tableCompanies
----------------------
CompanyId
CompanyName
Phone
blah, blah
>
tableUsers
----------------
UserID
Password
UserName
GroupID
CompanyID
blah, blah
>
tableGroups
-----------------
GroupID
GroupName
>
The assignment of rights might depend on what they are and how you
plan to use them. One way might be to have a tableGroupRights where
each row is a group and all other fields are various right and
permissions. Or the reverse, each row is a right with one field for
the groupID which can have duplicates. Each right then would be in a
list form in the table.If user permissions is prefered over groups,
the same logic can be used, but assign rights to the user instead of
the group.
|
Thanks very much for your suggestions. I had kind of thought about the
companies table and user tables scenario, but not the groups table.
Having it explained this way has helped greatly, as it is re-assuring
that others would tackle the issue in this manner and helps to banish
the anti-confidence gremlins from the thought process!
Regards
Steve