Why is the relationship between two tables automatically created?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

Hope someone can help me out. I have two tables: employees and salary. The
related field is employeeid. When I go to the relationship window and add
the two tables to establish relationship, I noticed that it's already created
for me? How does that happen?

I thought you have to manually create the relationships yourself.
 
Lynn Trapp said:
If you have 2 fields named identically in 2 tables, Access will
assume that you want one to be a Foreign Key to the other table.

However, Bagia should be aware that Access will not automatically
enforce referential integrity on that relationship. If you want to do
that, you have to edit the relationship.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top