FuzMic
DataBase Tinker
- Local time
- Today, 17:12
- Joined
- Sep 13, 2006
- Messages
- 744
Hi folks
In a Jet table involving people, it is normal to have 2 fields, ie firstName & lastName. For indexing we can have these 2 fields as joint key fields.
Alternatively we can convert these 2 fields into a composite PersonID eg Patrick Cameron can be CP001. (Serial numbering by DMax)
To me, the advantages to have an PersonID are
1 At Combo DropDown, PersonID makes locating & selection easier
2 Similar 1stName + lastName can be resolved with another serial
The questions i always wanted to ask:
1 Is there any advantage to use one method over the other?
2 Is there another way to skin this cat?
Peace
In a Jet table involving people, it is normal to have 2 fields, ie firstName & lastName. For indexing we can have these 2 fields as joint key fields.
Alternatively we can convert these 2 fields into a composite PersonID eg Patrick Cameron can be CP001. (Serial numbering by DMax)
To me, the advantages to have an PersonID are
1 At Combo DropDown, PersonID makes locating & selection easier
2 Similar 1stName + lastName can be resolved with another serial
The questions i always wanted to ask:
1 Is there any advantage to use one method over the other?
2 Is there another way to skin this cat?
Peace