Results 1 to 7 of 7
  1. #1
    tyrobrio is offline Novice
    Windows XP Access 2007
    Join Date
    Jan 2012
    Posts
    4

    Table Design

    I'm in charge of a reporting database project and I am having some problems deciding on the design of my tables. This project is sort of related to the Tasks Database part of Access' Templates.



    I need a database that collects data for several predefined Tasks (about 30). Each Task is associated with different fields for example:

    Task1: Field1,Field3,Field5
    Task2: Field1,Field4,Field5,Field6
    Task3: Field2,Field6,Field11,Field12

    Right now I have one main table with the ability to enter each individual task. I have a composite key for the TaskID and Date. And each entry has an employee associated with it.

    My First question is with so many different tasks being associated with different Fields should I keep it all in One Table or Split each task into their own tables. What is good practice here? If I don't split I will have many null entries. If I split then I will make the whole database too complex.

    My Second is question has to do with the employee who completed the task. I need to create reports that show what Task each employee did for a determined amount of time. But the problem is that some of the Tasks can be completed by several different employees per day. Which throws out my composite key of TaskID and Date out the window.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,618
    Only 12 fields? What data is in the fields?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    tyrobrio is offline Novice
    Windows XP Access 2007
    Join Date
    Jan 2012
    Posts
    4
    The fields are basic Number fields. They contain things that employees manually posted or how many things posted through an automated process.

    So is it safe to say that a table with only 12 or so fields with null values isn't a big deal?

  4. #4
    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,847
    My suggestion would be to write down what output is expected from such a database.
    Look for some sort of themes or groupings that make sense. Abstract those groupings into meaningful tables and relationships and try to match them to some processes.

    Prototype what you are thinking and get users/management to agree/adjust until they are happy. Keep people in the communications and let them be so involved as to set the pace of development/adjustment.

    Good luck

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,618
    Lots of blank fields indicates non-normalized structure, not necessarily 'bad' but maybe not optimal. Depends what you want to do with the data. A normalized design could be:

    RecID (autonumber)
    TaskNum (task1, task2, etc)
    ItemType (the field1, field2, etc name)
    Amount
    Source (employee, auto)
    DatePost

    Normalization vs ease of data entry/output can be a balancing act. I have tables with empty fields because the structure suits my primary input/output requirements.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  6. #6
    ellisthomas86 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Oct 2013
    Posts
    3
    If you are getting hooked up with loads of tasks, my recommendation will go with implementing an online web based task management software which will eat up all the problems hurdling you.

  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,847
    You do realize that this thread, before your post, was about 22 months old?
    Looks like tyrobrio has moved on.....

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

Similar Threads

  1. please help to design a table
    By oas in forum Database Design
    Replies: 3
    Last Post: 02-11-2012, 08:54 AM
  2. table design
    By slimjen in forum Access
    Replies: 5
    Last Post: 09-25-2011, 05:44 PM
  3. Table design
    By eacollie in forum Database Design
    Replies: 5
    Last Post: 06-21-2011, 03:33 PM
  4. Need some help on table design
    By stryk9 in forum Database Design
    Replies: 1
    Last Post: 03-07-2011, 06:35 AM
  5. table design: one big table vs. multiple small tables
    By lstairs in forum Database Design
    Replies: 3
    Last Post: 12-31-2009, 08:46 AM

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