Results 1 to 4 of 4
  1. #1
    snowboarder234's Avatar
    snowboarder234 is offline Competent Performer
    Windows XP Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    243

    Table Design: Fields with duplicate information

    Created a field for website addresses. Coming across individuals who have multiple websites. Do normalization rules dictate that the second (and all subsequent website addresses) each be set up in a new table so as to avoid having a table with blank fields?



    Example:
    This?

    Click image for larger version. 

Name:	Untitled-1.jpg 
Views:	3 
Size:	45.6 KB 
ID:	9534

    or this?
    tblWebsite [first table]
    tblSecondWebsite [second table]
    tblThirdWebsite [third table]
    Attached Thumbnails Attached Thumbnails Untitled-1.jpg  

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    If you want to easily be able to search for a particular website address, it is best to store these in a normalized table.
    In such a scenario, you would have a table just to store website addresses, and each would have their own record.
    So there would only be one "website" field in the table, and Jane would have two records, one for each website.

  3. #3
    snowboarder234's Avatar
    snowboarder234 is offline Competent Performer
    Windows XP Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    243
    This is very helpful. But it leads to a further question: I don't foresee a need to search for a website address, only the student -- and then, having found the student, I want to be able to see what (if any, website(s) they have, ie; personal, professional, academic, etc. So my question is, if it's not my goal to search for a website(s), only the student associated with it, is it still necessary to "normalize" by confining all the websites to one table? I appreciate how keeping the websites confined to one table achieves good normalization, which is my goal.

  4. #4
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    Normalization is good programming practice, and a sign of a well-designed database. It usually lends itself to be more easily maintained also.

    For example, let's say you have an un-normalized structure, where you have three website fields in your main table. And you program Forms/Reports to that.
    Now, let's say some point down the road, somebody actually has 4 website addresses. Now, you have to amend your table to include another field, and update your Reports/Forms to account for this additional field too.

    However, if you have a normalized structure like we talked about, all you would need to do is add another record to your websites table. No need to mess with the structure of Tables, Forms, or Reports.

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

Similar Threads

  1. Table Design -- want to avoid a design that creates blank fields
    By snowboarder234 in forum Database Design
    Replies: 4
    Last Post: 10-08-2012, 10:13 AM
  2. Getting duplicate information in my query
    By Toollady in forum Access
    Replies: 3
    Last Post: 06-14-2012, 07:03 PM
  3. Table design and information duplication
    By pess in forum Database Design
    Replies: 1
    Last Post: 08-11-2011, 10:57 PM
  4. Autofill Duplicate Information
    By JohnnyK15 in forum Forms
    Replies: 2
    Last Post: 06-15-2010, 10:53 AM
  5. Replies: 4
    Last Post: 09-03-2009, 02:01 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