AutoNumber data field

G

Guest

hello community

Can anybody kindly explain to me this statement:

"In Access, user cannot use an AutoNumber data field to enforce referential
integrity between tables"

however

when I created two tables, and both tables I allow Access created the
Primary keys for me.

Thereafter, I use the 1st column, which is the Autonumber, I created a Link
between the two tables and I also able to Enforce Integrity ?

why is that so that I can use AutoNumber to enforce integrity ?

I am using Access 2003

thanks community
 
A

Arno R

tikchye_oldLearner57 said:
hello community

Can anybody kindly explain to me this statement:

"In Access, user cannot use an AutoNumber data field to enforce referential
integrity between tables"

I guess this must be understood as:
You cannot use an Autonumber *at both sides* of the relation.

You definitively *can* use an autonumer (and a long integer at the other side) to enable RI.

Arno R
 

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

Top