chrisjames25
Registered User.
- Local time
- Today, 10:04
- Joined
- Dec 1, 2014
- Messages
- 401
Hi.
I am trying to create a table that allows me to create a product description that is unique.
To elaborate i have three table - Tbl_Category, Tbl_Potsize and Tbl_CaneType. Within category i have things like fruit, clematis, fuchsia (types of plants basically). Within potsize i have the various pot sizes a plant can be grown (9cm, 2L , 3L) and within canetype i have bamboo 90cm, bamboo 60cm etc. The idea is that a product type would be made - for example I could have a 2L-Fruit_90cm_bamboo_cane or a 2LClematis_90cm_bamboo_cane.
What i want to ascertain is how do i create a table that will not allow me to create the same product type of three elements combined. SO could put in 2L fruit 90cm and 2l fruit 60cm cane but couldnt double put in 2L fruit 90cm twice.
Hope that makes sense.
I am trying to create a table that allows me to create a product description that is unique.
To elaborate i have three table - Tbl_Category, Tbl_Potsize and Tbl_CaneType. Within category i have things like fruit, clematis, fuchsia (types of plants basically). Within potsize i have the various pot sizes a plant can be grown (9cm, 2L , 3L) and within canetype i have bamboo 90cm, bamboo 60cm etc. The idea is that a product type would be made - for example I could have a 2L-Fruit_90cm_bamboo_cane or a 2LClematis_90cm_bamboo_cane.
What i want to ascertain is how do i create a table that will not allow me to create the same product type of three elements combined. SO could put in 2L fruit 90cm and 2l fruit 60cm cane but couldnt double put in 2L fruit 90cm twice.
Hope that makes sense.