E
elizabeth baker
Hi. My problem is that one of my tables will not allow me to add new
records.
My tables (and relevant fields) are as follows:
tblContacts
ContactID (primary key)
tblContactInfo
ContactInfoID (primary key)
ContactID (foreign key)
tblAddresses
AddressID (primary key)
ContactID (foreign key)
Relationships are:
tblContacts.ContactID 1-to-many tblContactInfo.ContactID
enforce referential integrity
show all contacts and only contactinfo where joined fields are
equal
tblContacts.ContactID 1-to-many tblAddresses.ContactID
enforce referential integrity
show all contacts and only addresses where joined fields are equal
tblAddresses will allow new records; tblContactInfo will NOT allow new
records.
Foreign keys are not required in either related table.
What am i missing here? Why will tblAddresses let me update but
tblContactInfo won't?
Please help me.
Thanks, elizabeth
records.
My tables (and relevant fields) are as follows:
tblContacts
ContactID (primary key)
tblContactInfo
ContactInfoID (primary key)
ContactID (foreign key)
tblAddresses
AddressID (primary key)
ContactID (foreign key)
Relationships are:
tblContacts.ContactID 1-to-many tblContactInfo.ContactID
enforce referential integrity
show all contacts and only contactinfo where joined fields are
equal
tblContacts.ContactID 1-to-many tblAddresses.ContactID
enforce referential integrity
show all contacts and only addresses where joined fields are equal
tblAddresses will allow new records; tblContactInfo will NOT allow new
records.
Foreign keys are not required in either related table.
What am i missing here? Why will tblAddresses let me update but
tblContactInfo won't?
Please help me.
Thanks, elizabeth