D
dan
I have a table called Contacts, which has fields similar
to those shown below:
ContactId
Firstname
Surname
Address
DateOfBirth
Now, in my wisdom I created ContactId as an autonum
primary key. However, this obviously allows duplicate
contact records to be created. That is, you can have:
contactId Firstname surname address dateofbirth
1 jo bloggs 1 my road 7/8/70
2 jo bloggs 1 my road 7/8/70
The record itself isn't a duplicate because the contactid
is different, but the contact details are. In oracle (and
I think sybase) I could probably add a unique composite
key constraint on firstname + surname + address +
dateofbirth to create a (probable) unique contact record.
What would be the recommended table design in Access?
Many thanks,
Dan.
to those shown below:
ContactId
Firstname
Surname
Address
DateOfBirth
Now, in my wisdom I created ContactId as an autonum
primary key. However, this obviously allows duplicate
contact records to be created. That is, you can have:
contactId Firstname surname address dateofbirth
1 jo bloggs 1 my road 7/8/70
2 jo bloggs 1 my road 7/8/70
The record itself isn't a duplicate because the contactid
is different, but the contact details are. In oracle (and
I think sybase) I could probably add a unique composite
key constraint on firstname + surname + address +
dateofbirth to create a (probable) unique contact record.
What would be the recommended table design in Access?
Many thanks,
Dan.