Results 1 to 9 of 9
  1. #1
    HansBades is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    Dec 2021
    Posts
    85

    Addresses


    I have a database I am setting up that will track multiple addresses. Home Address, Business Address, Account Address, Billing Address, Prior Account Address. I am thinking that the best way to track this is to have one field for address and then create another table with address types that include home, business, account, etc. as it's value and then link the proper type to the particular instance of an address. Does anyone have any thoughts if this is the best way to do this?

  2. #2
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    No need for a separate table.

    Create a separate field for the type of address

    With this set up (normalized data), you can then query your table for the type(s) of addresses you wish to see.

  3. #3
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,803
    There is something to be said for splitting such data up. If you have 3 address types, the main data would be repeated for each record, such as first and last name, initial and anything else pertinent to the person but not part of the address data. Maybe phone numbers too, in which case IMO the data is not properly normalized. To that add that each record has a different PK value yet all records pertain to the same person. I'd say lots of people wouldn't think twice about a separate table.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  4. #4
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 10 Access 2016
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,544
    I would certainly use a table for the addresses
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  5. #5
    orange's Avatar
    orange is offline Moderator
    Windows 10 Office 365
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    I think something like the following is where I'd start. Other factors--how many accounts/account types could/do exist in your data? Again depending on volume and volatility you may want to identify AddrType in a separate table. This would allow you to add more AddrTypes to your database, if needed.

    Click image for larger version. 

Name:	MultiAddr.png 
Views:	27 
Size:	16.4 KB 
ID:	47971

  6. #6
    Join Date
    Apr 2017
    Posts
    1,682
    I think OP has the case where same (or almost same) address is used for different address types. E.g. private address of enterpreneur and the address of his/her enterprise are same (except name part of address). When this is the case, such build-up is valid.

  7. #7
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,431
    would be better if the OP provided some example data and how it links together since we are all guessing from the description what the actual requirement is.

    Separate table for addresses? yes - a given. How you link it to the 'parent record' is guesswork at the moment. Could be you include the parent PK in the address table together with an address type field. Could be you need a separate many to many joining table to indicate type where same address could be applied to different types. Could be there are multiple accounts to the PK and you need to link instead to that.

  8. #8
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,803
    Some might remember the columbarium thread here. I researched address table concepts for that and in an effort to make something work for anywhere in the world and the result is that there are not 2 but 5 tables to support address details. I agree with Ajax - 2 is the bare minimum but the number, as always, depends on the need.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  9. #9
    HansBades is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    Dec 2021
    Posts
    85
    Thank you everyone for the thoughtful responses. Very helpful.

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

Similar Threads

  1. Multiple addresses
    By DavidMcArthur in forum Database Design
    Replies: 2
    Last Post: 09-29-2016, 11:45 AM
  2. Email addresses
    By RBCC in forum Programming
    Replies: 1
    Last Post: 12-13-2015, 06:08 AM
  3. Parsing e-mail addresses
    By SgtSaunders69 in forum Queries
    Replies: 4
    Last Post: 01-15-2015, 03:07 PM
  4. Finding email addresses using VBA
    By P.Malius in forum Programming
    Replies: 1
    Last Post: 07-04-2012, 07:17 AM
  5. Combining two Email Addresses
    By Frodo in forum Access
    Replies: 0
    Last Post: 09-16-2007, 07:07 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