N
Novice
Does Access have a problem using an autonumber for a PK? I've got 3 tables.
tbl-Parts
pk-PartsID - Autonumber
PartNumber - Number
PartDescription - Text
tbl-Universal
pk-UniversalID - Autonumber
UniversalPartNumber - Number
UniversalDescription - Text
tbl-UniversalParts
fk-PartsID - Number
fk-UniversalID - Number
I then set up some forms per the instructions on this topic I received last
week, basically one form is Parts with a subform Universal, and another form
Universal with a subform Parts. My problem is finding a work around because
both PartNumbers and UniversalPartNumbers may have duplicates at times and
can't be used as the pk. Access doesn't seem to like my setup and my friend
told me it was the autonumber as the pk but he couldn't explain why or what I
needed to do to work around this.
Thank you.
tbl-Parts
pk-PartsID - Autonumber
PartNumber - Number
PartDescription - Text
tbl-Universal
pk-UniversalID - Autonumber
UniversalPartNumber - Number
UniversalDescription - Text
tbl-UniversalParts
fk-PartsID - Number
fk-UniversalID - Number
I then set up some forms per the instructions on this topic I received last
week, basically one form is Parts with a subform Universal, and another form
Universal with a subform Parts. My problem is finding a work around because
both PartNumbers and UniversalPartNumbers may have duplicates at times and
can't be used as the pk. Access doesn't seem to like my setup and my friend
told me it was the autonumber as the pk but he couldn't explain why or what I
needed to do to work around this.
Thank you.