In my database I have a lookup table CatagoryDescription where I got 3 columns – PrimaryKey, Category, Description. Category column has 4 options “Cig”; “Liq”; “Cos”; “Con”. Each of these categories have subcategory. For example, “Cig” has Benson, Devidoff, Marlboro. “Liq” has Beer, Whisky, Rum, Wine, Vodka. “Cos” has Perfume, Shampoo, Lotion, Powder. “Con” has Chocolate, Biscuit, Juice, Soup. Again, I have another table named Consignment where I record all imports. This table also has Category, Description columns. Category column is also limited to 4 options “Cig”; “Liq”; “Cos”; “Con” by Combo Box. Description column’s Display Control is set to Combo Box and Row Source Type is set to Table/Query. Now, when I click on the Description column’s combo box, I want it to generate only those subcategory items that falls under the Category that I have chosen on this row. Which means, if I have selected “Cig” on the Category column of Consignment table, the Description column’s combo box should generate only Benson, Devidoff, Marlboro and nothing else, because these 3 options are given on the CatagoryDescription table. Same way on the next row of the Consignment table if I have selected “Liq” on the Category column, the Description column’s combo box should generate only Beer, Whisky, Rum, Wine, Vodka and nothing else. I tried to achieve this using the following query on Row Source, but does not work accordingly.
Any help please?Code:SELECT DISTINCT CatagoryDescription.Description FROM CatagoryDescription INNER JOIN Consignment ON CatagoryDescription.Catagory = Consignment.Catagory;