- Joined
- Jul 24, 2016
- Messages
- 3
- Reaction score
- 2
I have created many-to-many relationships many times before and am trouble-shooting a complex database I created in Access 2007 and recently upgraded to Access 2016.
I have 3 tables named tblPeople, tblAddresses and tblPeopleAddresses which are used to log people where people live, who they live with and past addresses.
The primary key in tblPeople is PersonID (Autonumber, indexed No Duplicates).
The primary key in tblAddresses is AddressID (Autonumber, indexed No Duplicates).
The secondary keys in tblPeopleAddresses are:
This has also happened with some other 1 to many relationships in the database. Compact and repair doesn't solve it. Has anyone any idea what's wrong?
Thanks
I have 3 tables named tblPeople, tblAddresses and tblPeopleAddresses which are used to log people where people live, who they live with and past addresses.
The primary key in tblPeople is PersonID (Autonumber, indexed No Duplicates).
The primary key in tblAddresses is AddressID (Autonumber, indexed No Duplicates).
The secondary keys in tblPeopleAddresses are:
- PersonID (Long integer, indexed Duplicates OK)
- AddressID (Long Integer, indexed DuplicatesOK).
This has also happened with some other 1 to many relationships in the database. Compact and repair doesn't solve it. Has anyone any idea what's wrong?
Thanks