boblarson
Smeghead
- Local time
- Today, 11:43
- Joined
- Jan 12, 2001
- Messages
- 32,059
Re: Shipping Calcuations
Yes, another table for categories would be appropriate
tblProductCategories
ProductCategoryID - Autonumber (PK)
ProductCategory - Description
and then you store the product category id in with the product in the products table.
You could then, if the shipping was based on CATEGORY and not just item, change the shipping to ProductCategoryID - Long Integer (FK) instead and then pass the category id to the function instead of the product id itself.
Yes, another table for categories would be appropriate
tblProductCategories
ProductCategoryID - Autonumber (PK)
ProductCategory - Description
and then you store the product category id in with the product in the products table.
You could then, if the shipping was based on CATEGORY and not just item, change the shipping to ProductCategoryID - Long Integer (FK) instead and then pass the category id to the function instead of the product id itself.