DeanWilliams
Programmer
Hello All,
I have a 1 to 1 relationship in my DB which sub-classes the Customer data. My tables are as follows:
tblCustomer (Main table)
tblIndividual (Person-specific data)
tblCompany (Company-specific data)
tblCustomerType (The type of customer, i.e: individual/company)
The relationships look like this.
tblCustomerType 1 --------------- m tblCustomer 1 ------------> 1 tblIndividual
1 `-----------> 1 tblCompany
The problem I am having is that when I try to enter data, for example, in the Company table joined with the Customer table, it wants a matching record in the Individual table and vice versa.
I have set this scenario up successfully in the past (as in this link: but cannot now get it to work.
Any help would be appreciated.
Dean.
I have a 1 to 1 relationship in my DB which sub-classes the Customer data. My tables are as follows:
tblCustomer (Main table)
tblIndividual (Person-specific data)
tblCompany (Company-specific data)
tblCustomerType (The type of customer, i.e: individual/company)
The relationships look like this.
tblCustomerType 1 --------------- m tblCustomer 1 ------------> 1 tblIndividual
1 `-----------> 1 tblCompany
The problem I am having is that when I try to enter data, for example, in the Company table joined with the Customer table, it wants a matching record in the Individual table and vice versa.
I have set this scenario up successfully in the past (as in this link: but cannot now get it to work.
Any help would be appreciated.
Dean.