Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Nov 2001
    Location
    Sydney, New South Wales, Australia
    Posts
    216
    Thanks
    0
    Thanked 0 Times in 0 Posts

    One-to-one links and an ODBC table (2003 SP2)

    I am creating a new database which will have an ODBC link with QuickBooks to read/write with the Customers table. The database also has to store additional customer data such as date of birth and occupation, to name a few. Initially I thought I would need to use a second table for the extra data and then create a one-to-one link between them however there is no primary key in the Customers table. Is there a way around this? Instead should I create an unbound form to programmatically "link" the two tables?

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

    Re: One-to-one links and an ODBC table (2003 SP2)

    There must be a field or combination of fields that uniquely identifies a customer, even if it is not the primary key. You should be able to use this field/these fields to link the tables.

  3. #3
    3 Star Lounger
    Join Date
    Nov 2001
    Location
    Sydney, New South Wales, Australia
    Posts
    216
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: One-to-one links and an ODBC table (2003 SP2)

    Sorry Hans. The actual ODBC link table does have a primary key. I was doing some preliminary work on an imported copy of the table and I discovered that importing ODBC tables doesn't bring across the primary key!

Posting Permissions

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