I have 10 controls in a form and when a control is selected the rest of controls are re-populated
Here's my table structure
Field1 | Field2 | Field3 | Field4 | Field5 | Field6 | Field7 | Field8 | Field9 | Field10 |
Bus | Tyre | Steering | Engine | Gear | Fuel | MultiSeat | |||
Bus | Door | Steering | Engine | Gear | Fuel | MultiSeat | |||
Car | Tyre | Steering | Engine | Gear | Fuel | 2 Row Seat | |||
Car | Door | Steering | Engine | Gear | Fuel | 2 Row Seat | |||
Bike | Tyre | Handbar | Engine | Gear | Fuel | Single Seat | Pillion | ||
Cycle | Tyre | Handbar | Pedalling | Single Seat | Carrier |
Each field is dependent on other field. By default DISTINCT rows in each field is returned as a result set as below:
select distinct(field1) from table
select distinct(field2) from table
Upon selecting any of the item from the dropdown rest of the dropdowns are bound.
Is there any simplistic approach available?