G
Guest
Hi all
I have several tables that I need to relate.
Customers - holds address info for customer offices and is indexed by a
unique customerID, which is set as a primary key.
Contacts - holds contact details for contacts at the customer offices,
indexed also by customerID but duplicates are allowed as we have several
contacts based at the same location. No primary key set.
Notes - holds notes that engineers make about customer sites they have
visited. Indexed again by customerID but as with Contacts there may be
several notes for the same location so primary key is set for this table
either.
How do I get them to relate properly? I have set relationships up between
the tables, but I want to create a form with 2 subforms and I can't get the
form design wizard to allow me to do this. It will, however, let me create a
form with a single subform, so either Customers with Contacts or Customers
with Notes.
I need Customers with Contacts AND Notes though and am assuming there is a
problem with either keys or relationships somewhere!
I would be extremely grateful if anybody can point me in the right direction!
Many thanks!!
Ali
I have several tables that I need to relate.
Customers - holds address info for customer offices and is indexed by a
unique customerID, which is set as a primary key.
Contacts - holds contact details for contacts at the customer offices,
indexed also by customerID but duplicates are allowed as we have several
contacts based at the same location. No primary key set.
Notes - holds notes that engineers make about customer sites they have
visited. Indexed again by customerID but as with Contacts there may be
several notes for the same location so primary key is set for this table
either.
How do I get them to relate properly? I have set relationships up between
the tables, but I want to create a form with 2 subforms and I can't get the
form design wizard to allow me to do this. It will, however, let me create a
form with a single subform, so either Customers with Contacts or Customers
with Notes.
I need Customers with Contacts AND Notes though and am assuming there is a
problem with either keys or relationships somewhere!
I would be extremely grateful if anybody can point me in the right direction!
Many thanks!!
Ali