Guest_imported
New member
- Jan 1, 1970
- 0
I'm trying to create a database that keeps track of clients.
I have ***First Name, Last Name, Address, City State*** on one table called [Client]
In another table I have ***Purchase Description, Amount, Date of Purchase, Grand Total*** This table is called [Client Purchases]
The problem I am running into is the actual relationships. I tried creating First Name and Last Name on the [Client Purchases] table and I tried every combination of relationships. For example I set both first and last name as primary keys, in this case I was only able to do a one-to-one. I want to be able to have a one-to-many relationship. Another time I set the First and Last Name on the [Client] table as primary keys and had no primary keys on my [Client Purchases] in this case the join was "indeterminate"
What I am getting at is that I need some way of joining the two tables because with all databases that keep track of customers there could be multiple customers with the same first name and multiple customers with the same last name. I need to find some way so that my customer lets call him "John Doe" and another customer "Jane Doe" are differentiated between although they have the same last name etc... Thanks so much in advance.
Lewie
I have ***First Name, Last Name, Address, City State*** on one table called [Client]
In another table I have ***Purchase Description, Amount, Date of Purchase, Grand Total*** This table is called [Client Purchases]
The problem I am running into is the actual relationships. I tried creating First Name and Last Name on the [Client Purchases] table and I tried every combination of relationships. For example I set both first and last name as primary keys, in this case I was only able to do a one-to-one. I want to be able to have a one-to-many relationship. Another time I set the First and Last Name on the [Client] table as primary keys and had no primary keys on my [Client Purchases] in this case the join was "indeterminate"
What I am getting at is that I need some way of joining the two tables because with all databases that keep track of customers there could be multiple customers with the same first name and multiple customers with the same last name. I need to find some way so that my customer lets call him "John Doe" and another customer "Jane Doe" are differentiated between although they have the same last name etc... Thanks so much in advance.
Lewie