Y
Yaac
I have an existing table for products and an existing table for categories.
The key also happens to be the Product ID. For example, item 105 is a
frisbee. It is a toy, 83 is the and Category ID (not a primary key) for toys.
So i will make the new product ID (the new primary key in products table)
83105. I can change the existinig data with an append query i imaginie, but
What i am having trouble getting a solution for is using a form to enter new
products. I would like to be able to enter the product info and have it
create a primary key for that product by using the category numbers and then
the next primary key available for that category. My first instink would have
been to use autonumber, but i have read that is not a possible solution.
If i have
82101, 82102... 82150, 83102, 83103, 83104, 83105, 84101, 84102
82 = tools
83 = toys
84 = candy
How do i create 83106 using the category selected from a combo box entered
in the form.
I hope you can help me,
Thanks for your time.
Yaac
The key also happens to be the Product ID. For example, item 105 is a
frisbee. It is a toy, 83 is the and Category ID (not a primary key) for toys.
So i will make the new product ID (the new primary key in products table)
83105. I can change the existinig data with an append query i imaginie, but
What i am having trouble getting a solution for is using a form to enter new
products. I would like to be able to enter the product info and have it
create a primary key for that product by using the category numbers and then
the next primary key available for that category. My first instink would have
been to use autonumber, but i have read that is not a possible solution.
If i have
82101, 82102... 82150, 83102, 83103, 83104, 83105, 84101, 84102
82 = tools
83 = toys
84 = candy
How do i create 83106 using the category selected from a combo box entered
in the form.
I hope you can help me,
Thanks for your time.
Yaac