Donate SIGN UP

Microsoft Access

Avatar Image
bms | 08:48 Wed 04th Feb 2009 | Computers
2 Answers
I am new learner on Access. I have 2 tables that I have set up with a
relationship. I wanted to "enforce referential integrity" but I get an error
message saying it can't as it violates the rules. I have done my best to
locate the difference between the primery key and matching field, but cannot
find the problem Is there anyway of getting Access to highlight the exact
problem to me? Thanks
Gravatar

Answers

1 to 2 of 2rss feed

Best Answer

No best answer has yet been selected by bms. Once a best answer has been selected, it will be shown here.

For more on marking an answer as the "Best Answer", please visit our FAQ.
From working with relational tables a few years ago I believe for referential integrity to work both columns need to be "key" columns.

I have not used Access so dont know the terminology, but dont you need one Primary key in one table linked to a Foreign key in another table.

Explained here

http://en.wikipedia.org/wiki/Referential_integ rity
-- answer removed --

1 to 2 of 2rss feed

Do you know the answer?

Microsoft Access

Answer Question >>