C
Contro
Hi guys!
I have a problem. Basically, I have two tables of two different kinds
of customer (a direct applicant, and an applicant from a third party).
These need to be kept separate, and can not be merged into the same
table.
Each kind of customer can make a payment, which is stored in the
payment table. This table is linked to the two customer tables via an
Applicant ID, with Payment ID being the primary key in the payment
table.
The problem is that, when I try to enter any payment details for either
of the customer types, I get an error saying "you cannot add or change
a record because a related record is required [in the other customer
table]"
If I turn off the "enforce referential integrety" rules for the
relationships, then there is not a problem. However, this does not
seem ideal....do any of you know of a better solution; one that is more
"professional"?
Any help would be hugely appreciated!
Contro.
I have a problem. Basically, I have two tables of two different kinds
of customer (a direct applicant, and an applicant from a third party).
These need to be kept separate, and can not be merged into the same
table.
Each kind of customer can make a payment, which is stored in the
payment table. This table is linked to the two customer tables via an
Applicant ID, with Payment ID being the primary key in the payment
table.
The problem is that, when I try to enter any payment details for either
of the customer types, I get an error saying "you cannot add or change
a record because a related record is required [in the other customer
table]"
If I turn off the "enforce referential integrety" rules for the
relationships, then there is not a problem. However, this does not
seem ideal....do any of you know of a better solution; one that is more
"professional"?
Any help would be hugely appreciated!
Contro.