Patti
A table has only one "primary key". That key can be a composite of more
than one field/column.
Before we can guarantee no duplicates, you need to tell us more about your
[itemsku] and [date] values.
Yes, if the two fields together are your primary key, Access will prevent
any duplication OF THOSE COMBINED FIELDS. You could still have the same
[itemsku] in multiple records, and you could still have the same [date] in
multiple records, but only one instance of the unique combination of these.
By the way, Access treats the word "date" as a reserved word. You'll never
know what Access is going to use (and Access may not understand what you
want to use) -- change the name of this field to something more meaningful,
and not a reserved word.
Regards
Jeff Boyce
Microsoft Office/Access MVP
patti said:
I have never dealt w/ a composite key before. I have a table with primary
keys of itemsku and date. Does this Composite Key guarantee that there
will
be no duplicates?
thanks.