I have used text values in key fields for years without any issues. Seeing the value rather than a number is very helpful at times. Can you be more specific why it is bad database practice. Thanks for taking the time to answer my questions.
Reply from Richard Rost:
If you have a current text ID field and it's working for you, that's fine. No NEED to change it. It's just considered good database practice to use Autonumbers for IDs because the system generates them and you don't have to worry about what they are. The primary/foreign key fields are literally ONLY for forming relationships. If you want to add a second "code" or "number" field that you manage yourself, that's perfectly fine. If you want to add text codes for shorthand so you can quickly enter in products, that's OK too.
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Access Expert 1.