Multiple primary keys

G

Guest

Can someone tell me how multiple primary keys function.

Does access only prevent duplication of records if all fields set as primary
keys are duplicated or does it prevent entry of duplicated data within any of
these fields?
 
G

Guest

Your phrasing is incorrect. You can only have one primary key.
You can have a primary key that consist of multiple fields.
A multiple field key allows only one instance of the combined data.
Examples --
ABC XYZ
ABC XYY
ABC XYX
But any of the above combinations can not be entered twice.
 

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