C
Craig Ferrier
I am looking for some advice on how to set up primary keys and ID numbers.
I need two table, one for donors and one for companies. However I receive
donations from both and only really require one donations table. If I use
auto number in the table I will end up with a donor and a company with the
same ID number. I understand that I can use text for the primary key and
manually assign an ID, but this opens it up to possible data entry errors.
Is there another way of doing this.
I though using D1, D2, D3 etc and C1, C2, C3 etc - but not sure how to this.
What if I assigned an Auto Number and then used a query to create a
secondary ID field adding the letter in front of each ID. Would this work
or cause problems?
Your thoughts and suggestions would be greatly appreciated.
Craig Ferrier
I need two table, one for donors and one for companies. However I receive
donations from both and only really require one donations table. If I use
auto number in the table I will end up with a donor and a company with the
same ID number. I understand that I can use text for the primary key and
manually assign an ID, but this opens it up to possible data entry errors.
Is there another way of doing this.
I though using D1, D2, D3 etc and C1, C2, C3 etc - but not sure how to this.
What if I assigned an Auto Number and then used a query to create a
secondary ID field adding the letter in front of each ID. Would this work
or cause problems?
Your thoughts and suggestions would be greatly appreciated.
Craig Ferrier