Results 1 to 4 of 4
  1. #1
    undrcvr is offline Novice
    Windows 7 Access 2007
    Join Date
    May 2010
    Posts
    2

    Which method is better?

    Hi,


    I'm creating table Person and each person can have 0-or-more phone numbers and 0-or-more fax numbers. My question is which method is better to acheive that:

    1. Table Person is connected to two tables: Fax(id, number) and Phone(id, number) in relationship one-to-many.
    2. Table Person is connected to one table: Contact(id, number, [id type]) in relationship one-to-many and table Contact is connected to another table [Contact Type]([id type], type) in relationship one-to-many to determine if contact is fax or phone number.


    I'm wondering which way is more efficient.

    Thanks in advance.

  2. #2
    kimmer is offline Competent Performer
    Windows 7 Access 2010 (version 14.0)
    Join Date
    May 2010
    Posts
    100
    I'm not sure I understand your table names. You have a people table.
    Add a VirtualAddresses table: PeopleId, VirtualAddress, VirtualAddressTypeId.
    Also a virtualAddressTypes table: VirtualAddressTypeId, VirtualAddressType.

    Now you can put your home email, work email, web address etc in the VirtualAddresses table if you want.

  3. #3
    undrcvr is offline Novice
    Windows 7 Access 2007
    Join Date
    May 2010
    Posts
    2
    So you recommend 2nd method?

    Ok, thx for the answer.

  4. #4
    kimmer is offline Competent Performer
    Windows 7 Access 2010 (version 14.0)
    Join Date
    May 2010
    Posts
    100
    yep, the second one.

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

Similar Threads

  1. Object doesn't support property or method
    By Jamy in forum Programming
    Replies: 7
    Last Post: 07-15-2013, 01:42 AM
  2. Replies: 2
    Last Post: 02-27-2010, 06:53 AM
  3. trnsferspreadsheet method - no data
    By Lurmis in forum Programming
    Replies: 5
    Last Post: 09-24-2009, 08:51 AM
  4. Common Dialog control / ShowOpen method
    By phuile in forum Forms
    Replies: 0
    Last Post: 04-10-2009, 12:16 AM
  5. Replies: 2
    Last Post: 02-28-2009, 03:31 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