Results 1 to 4 of 4
  1. #1
    TxTcher is offline Novice
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    9

    Table Design one Field - People or Business Name

    I am attempting to design a database. I have two different types of "customers." Some are individuals and some are businesses. How do I create a Customer table? When I started out, I created a table with a first name and last name field, but then belatedly realized that those fields do not accommodate a business entity.

  2. #2
    jzwp11 is offline VIP
    Windows 7 Access 2007
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    I have seen people design it in either of two ways. The first way would be to have people and companies in the same table like this:

    tblPeople
    - pkPeopleID primary key, autonumber
    - PrimaryName, text -- Lastname for human or the company name
    - SecondaryName, text -- Firstname for human or subsidiary/subdivision name for a company

    I have also seen designs that use a table of organizations for companies, agencies, non-profit and other entities, and then a separate table for individual people details.

    The general rule is if the fields between two tables are for the most part the same, then you should have only 1 table. You'll have to make the call based on the type of data you are storing in your database.

  3. #3
    TxTcher is offline Novice
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    9
    Thanks! I think I can differentiate between the two sufficiently enough to have two tables. (Long boring detailed description of db that I won't burden you with)

    Thanks again.

  4. #4
    jzwp11 is offline VIP
    Windows 7 Access 2007
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    You're welcome; best of luck with your project.

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: one big table vs. multiple small tables
    By lstairs in forum Database Design
    Replies: 3
    Last Post: 12-31-2009, 08:46 AM
  3. Replies: 0
    Last Post: 12-28-2009, 12:14 PM
  4. equipment and people check in and out
    By aaronlalonde in forum Access
    Replies: 0
    Last Post: 07-29-2009, 08:28 PM
  5. people from table not showing in form
    By corystemp in forum Access
    Replies: 2
    Last Post: 03-26-2009, 08:57 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