From what I have learned about db design, you always create a primary key and if there is none, you at least put an autonumber field. So, let's say I have a table I am just using to help the data entry process. It's basically used to populate a combo box so entries are consistent.
Example: Table: Program Change Codes
Field Name: Program ID (Autonumber)
Field Name: Program Change Description
Desc. entries like: Released from testing due to illness; Held back because for therapeutic counseling., etc...
When you use the autonumber field, then you choose 1 for the released option and 2 for the held back option.
Here is my quandary: First, a user has to know the autonumber to search in a query rather than using the actual "reason" for the program change. This seems confusing. If they are filling in a parameter query, is it best to just create a list box they can pick options from?
Second, what if they want to enter something not on the list, something out of the ordinary that will possibly never be used again and it is not necessary to add to the code table. It won't let you just enter text if it's an autonumber field.
I have always done these using the autonumber, code desc. field structure, but it seems to be causing issues when you are dealing with new users who may not understand the underlying structure. If the field shows the actual description when they fill in from the combo box, how are they supposed to know the autonumber field?
I have started just creating the table with one field-the actual code as the primary key, but when you have long "codes" (like the examples above), this doesn't seem right. HELP!
Thanks for any clarity that can be offered!!
Example: Table: Program Change Codes
Field Name: Program ID (Autonumber)
Field Name: Program Change Description
Desc. entries like: Released from testing due to illness; Held back because for therapeutic counseling., etc...
When you use the autonumber field, then you choose 1 for the released option and 2 for the held back option.
Here is my quandary: First, a user has to know the autonumber to search in a query rather than using the actual "reason" for the program change. This seems confusing. If they are filling in a parameter query, is it best to just create a list box they can pick options from?
Second, what if they want to enter something not on the list, something out of the ordinary that will possibly never be used again and it is not necessary to add to the code table. It won't let you just enter text if it's an autonumber field.
I have always done these using the autonumber, code desc. field structure, but it seems to be causing issues when you are dealing with new users who may not understand the underlying structure. If the field shows the actual description when they fill in from the combo box, how are they supposed to know the autonumber field?
I have started just creating the table with one field-the actual code as the primary key, but when you have long "codes" (like the examples above), this doesn't seem right. HELP!
Thanks for any clarity that can be offered!!