Results 1 to 7 of 7
  1. #1
    Bryan021 is offline Novice
    Windows XP Access 2007
    Join Date
    Apr 2011
    Location
    Florida, USA
    Posts
    7

    Normalization and Dates?

    My DB project is going to have Dates recorded for several different reasons.
    Entry Date, Due Date, Sign-off Date, Deposit Payment Date, Template Date, Fabrication Date, Install Date, Final Payment Date, etc, etc.

    Do I have all of these fields pointing to a single Date table, so any given "date" is referenced by any of the fields?
    OR


    Do I have a separate table of each date type, and the actual "date" itself is just data?

    How do you deal dates for differing purposes in your DB structure?

  2. #2
    jzwp11 is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    Generally dates are just data, but it really depends on your application. For example, lets say that you are dealing with projects and related to each project you have a series of dates such as project start date, fabrication date, date to customer, invoice issue date. Each of these things can acutally be considered an event related to the project (start, fabrication, delivery to customer, invoice issued). So if these are typical events (that are common to all projects), you would have these events in a table and then relate them to each project with the date on which it occurs. In other words, a structure like this

    tblProject
    -pkProjectID primary key, autonumber
    -txtProjectName

    tblEvents (just holds all possible events)
    -pkEventID primary key, autonumber
    -txtEventName


    Now relate the events to a project

    tblProjectEvents
    -pkProjEventID primary key, autonumber
    -fkProjectID foreign key to tblProject
    -fkEventID foreign key to tblEvents
    -dteEvent (date of the event specified by fkEventID for the project specified by fkProjectID)

  3. #3
    Bryan021 is offline Novice
    Windows XP Access 2007
    Join Date
    Apr 2011
    Location
    Florida, USA
    Posts
    7
    Thanks... I didn't think to treat these date related items as "events"... this does simplify things for me.

  4. #4
    jzwp11 is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    You're welcome

  5. #5
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    @Bryan
    Are you satisfied enough with this thread to use the Thread Tools and mark it Solved?

  6. #6
    Bryan021 is offline Novice
    Windows XP Access 2007
    Join Date
    Apr 2011
    Location
    Florida, USA
    Posts
    7
    Quote Originally Posted by RuralGuy View Post
    @Bryan
    Are you satisfied enough with this thread to use the Thread Tools and mark it Solved?
    Certainly... I was giving the thread an extra day to see if it garnered any other opinions before doing so ( a "solved" thread is less likely to gain a viewing).

  7. #7
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    Thanks for checking back.

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

Similar Threads

  1. Name Normalization Query
    By shexe in forum Queries
    Replies: 3
    Last Post: 09-24-2010, 10:20 AM
  2. Normalization
    By U810190 in forum Access
    Replies: 1
    Last Post: 03-30-2010, 04:55 PM
  3. Newb stuck on Normalization
    By dave_wilford in forum Database Design
    Replies: 6
    Last Post: 05-19-2008, 02:39 PM
  4. Table Normalization Help
    By newhelpplease in forum Database Design
    Replies: 1
    Last Post: 10-15-2007, 09:25 AM
  5. Normalization Assistance for Tables Please??
    By webmaniac in forum Database Design
    Replies: 10
    Last Post: 09-02-2006, 05:56 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