G
Guest
I am having a problem with a realtionship. I have three tables which are
involved.
1) tblCompanies (non-customers)
2) tblContacts
3) tblCustomers
the pk in tblcompanies is pkComapnyID with a one to many relationship to
tblContacts. If a "company" becomes a customer an accoutn number is filled
in field acctnumber, I am needing the realtionship to cascade update
tblcontacts when this account number is entered. When I change my
relationship to include the acctnumber field I get a message that reads
"no unique index for the referenced field of the primary table". However I
have the properties set to Yes(no Duplicates),Yes in both tables with the
same field size and data type.
Once the record has an account number in tblCompanies it will moved (append
query followed by delete query) to tblCustomers. tblCustomers is linked to
tblContacts using the acctnumber field.
If anyone can help with the updating related field issue it would be a big
help.
involved.
1) tblCompanies (non-customers)
2) tblContacts
3) tblCustomers
the pk in tblcompanies is pkComapnyID with a one to many relationship to
tblContacts. If a "company" becomes a customer an accoutn number is filled
in field acctnumber, I am needing the realtionship to cascade update
tblcontacts when this account number is entered. When I change my
relationship to include the acctnumber field I get a message that reads
"no unique index for the referenced field of the primary table". However I
have the properties set to Yes(no Duplicates),Yes in both tables with the
same field size and data type.
Once the record has an account number in tblCompanies it will moved (append
query followed by delete query) to tblCustomers. tblCustomers is linked to
tblContacts using the acctnumber field.
If anyone can help with the updating related field issue it would be a big
help.