Y
Yaac
I have created a database for products that i sell. I would like the Primary
key to be a combination of the Category Id for that product and a generated
number. This number will idetify this product but also has to be easy to type
on a regular basis. For exaple right now i have Category 83 is toys. I would
like all of the toys to be 83101, 83102, 83103 etc. etc.. What is the best
way to go about this. Can i have a macro for a control in a form to auto
generate ofter updating the Category feild.
Is this a bad idea for a primary key? Any sugestions or warnings are
appreciated.
Thanks,
key to be a combination of the Category Id for that product and a generated
number. This number will idetify this product but also has to be easy to type
on a regular basis. For exaple right now i have Category 83 is toys. I would
like all of the toys to be 83101, 83102, 83103 etc. etc.. What is the best
way to go about this. Can i have a macro for a control in a form to auto
generate ofter updating the Category feild.
Is this a bad idea for a primary key? Any sugestions or warnings are
appreciated.
Thanks,