Results 1 to 8 of 8
  1. #1
    MrRyszard is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    May 2013
    Posts
    3

    Helpdesk Database design question

    Hello everyone,

    I'm just getting re-introduced to MS access and I'm a bit rusty on my DB design.

    I'm not quite sure what would be the best way to go about what I'd like to do, but I'll explain the best I can and see what we can come up with.

    I'm designing an account membership database for a helpdesk. So far I've got one table "Employees" and have already populated the data

    Employees
    -ID
    -FirstName
    -LastName


    -MiddleInit
    -MonthBirth
    -DayBirth
    -Last4Soc

    Ideally, I would like to use the Employees table to add in new employees, and as they get access to specific accounts, add them to the subsequent tables.

    In the Account tables I would like to have
    ACCOUNT1
    -ID
    -DateAccessRequested
    -DateAccessProvided
    -DateAccessTerm
    -AppLogin1
    -AppLogin2
    -AppLogin3

    Where AppLogin will contain the username for that employee, for that application as a member of that account (account1)

    I have an autonum Primary Key setup for Employees, and am intending to use that ID within each ACCOUNT1, 2, 3, etc table to track logins, access modification dates, etc.

    I've run into the problem where when I created a relationship between the Primary Key of ACCOUNT1 and EMPLOYEES, it generated a different primary key and created a new empty row in EMPLOYEES.


    Again, please be gentile with me =P. I hate to Join and Post asking a basic question, but I'm in a pinch and would appreciate any help/guidance possible. I may be going about this the totally wrong way, and if that's the case please let me know so I can make this easier to develop in the future also as we decide to add to it.

    Thanks,


    Rick

  2. #2
    LillMcGill is offline Dagny fan
    Windows 8 Access 2010 64bit
    Join Date
    Oct 2010
    Location
    Southern USA
    Posts
    70
    I adamantly disagree with the concept of making multiple tables: Account1, Account2, Account3.

    Make a table of applications. This is a list of apps and the only fields that can go in this table are facts about apps that no app would ever have more than one of.
    The relation of Employees to Apps is many-to-many.... so make an EmployeeApps table, perhaps with these fields, for example:
    -EmployeeAppID
    -EmployeeID
    -AppID
    -Login???
    -Other fields that are facts about the combination of the Employee and the Apps to which they are assigned. BUT only fields where no Emp/App combo could ever have more than one of.
    This means you might need more tables, but I am not clear enough on the meaning of Login1, Login2, Login3 to be certain what's going on with some of your proposed fields.

  3. #3
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    Why not just BirthDate as a date/Year data type for Employee? You can get the month by Month(BirthDate) if/when needed.

    Birth Date isn't going to change so no need to break it into parts.

    Just saw the other post. Totally agree , do not use separate tables for account1, account2 , account3.

    Research Normalization if you need more info.

  4. #4
    amrut is offline Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2012
    Location
    India
    Posts
    616
    From above, it is not clear how are employees and their accounts related ? How many types of accounts are there and will more be added in future ? Why there are different tables for different account types ?Further, can one employee have more than one account or more than one account types?
    Post these details and someone will help you.

  5. #5
    MrRyszard is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    May 2013
    Posts
    3
    Hopefully this will help.. I was WAY off and was making too much work for myself it seems.

    Multiple users are on the helpdesk
    Users have multiple CLIENTS
    Clients have Multiple accounts within each client.


    (still working on it as I type)

  6. #6
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    Just my opinion, I think is easier when starting a new database to figure out what you want out of it before you start working on what you want to put in it.

    With that in mind, could you tell us exactly what you want to get from your database?

    Dale

  7. #7
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    I agree with Dale -- always start with what you expect/need as output. That will help you focus/deduce what must go in.

    Here is a tutorial that will help you -- it starts with a description of "the business" your intended database is supposed to support.
    http://www.rogersaccesslibrary.com/T...lationship.zip

  8. #8
    MrRyszard is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    May 2013
    Posts
    3
    Thank all you so much for the help.
    I've since totally re-arranged my database and believe everything is set up properly. Once I get some downtime I'll update what I've got and see if anyone has any suggestions.
    Thanks again.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Database design question
    By audmkamp in forum Database Design
    Replies: 2
    Last Post: 01-21-2013, 01:48 PM
  2. Database design Question
    By access2day in forum Database Design
    Replies: 1
    Last Post: 05-03-2012, 10:15 AM
  3. Database design question
    By udigold1 in forum Database Design
    Replies: 3
    Last Post: 03-23-2012, 02:20 PM
  4. Database Design Question
    By AccessNewBiegr in forum Access
    Replies: 2
    Last Post: 02-08-2011, 08:22 AM
  5. A basic question about database design
    By guitarbinge in forum Access
    Replies: 2
    Last Post: 11-05-2010, 03:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums