Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Jan 2001
    Location
    Pennsylvania, USA
    Posts
    144
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Tables question (2000/2002)

    I should have seen this coming, but that
    threecrow

    Don't make excuses. It's what you do, not why you didn't.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Tables question (2000/2002)

    In this situation, where the large majority of customers has only one address, I would use the following setup:

    1) tblCustomers
    CustomerID (unique identifier, preferably AutoNumber)
    CustomerName (text)
    ...

    2) tblAddressTypes (this is a lookup table)
    AddressTypeID (unique identifier, for example AutoNumber)
    AddressType (text)

    3) tblAdresses
    AddressID (unique identifier, preferably AutoNumber)
    CompanyID (number, long integer)
    AddressTypeID (number, long integer)
    various fields that comprise the address (street, number, zip, ...)

    You can use queries to select specific address types.

  3. #3
    2 Star Lounger
    Join Date
    Jan 2001
    Location
    Pennsylvania, USA
    Posts
    144
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Tables question (2000/2002)

    I understand the logic, some of which I am using with the two tables, I have lookup tables for City, State and Postal Code.

    This will not be that difficult to set up and change the database this working logic.

    Thank you kindly for your time, and the push in this direction.

    There may be hope for this old DOS Flat File warhorse

    Do you think 8 track tapes will ever make come back
    threecrow

    Don't make excuses. It's what you do, not why you didn't.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •