I have Table Products and Table Types. I've created another one ProductTypeRef where i save the references. For example:
Products
Id Description
1 Shoes
2 Clothes
3 Hats
Types
Id Description
1 Athletic
2 T-Shirts
3 Trousers
ProductTypeRef
IdProducts IdTypes
1 1
2 2
2 3
I have two combo boxes, Products and Types. How can i relate these two combo boxes?I mean if the user choose Shoes from product combo box, he'll get (as a choice) only the Athletic (or all the available values for the Shoes product) from the types combo boxes.
Any suggestions?
Thank you in advance.
Products
Id Description
1 Shoes
2 Clothes
3 Hats
Types
Id Description
1 Athletic
2 T-Shirts
3 Trousers
ProductTypeRef
IdProducts IdTypes
1 1
2 2
2 3
I have two combo boxes, Products and Types. How can i relate these two combo boxes?I mean if the user choose Shoes from product combo box, he'll get (as a choice) only the Athletic (or all the available values for the Shoes product) from the types combo boxes.
Any suggestions?
Thank you in advance.