Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to do this kind of relationship?

Status
Not open for further replies.

sansangtracao

Technical User
Oct 7, 2005
19
VN
I have a table with "Employee Name" field, I have another table with "Customer" field. 1 Employee can handle 2 Customer, on the other hand, 2 Employees can share 1 Customer (in a special case). Question: how to handle this problem with table and relationship ? By the way, Employee and Customer in both tables are indexed and cannot be duplicate. Thanks
 
Create a junction table:
tblEmployeeCustomer
======================
EmployeeID
CustomerID

Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top