Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Multiple Field field search with multiple resultset

$
0
0

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

Field1Field2Field3Field4Field5Field6Field7Field8Field9Field10
BusTyreSteeringEngineGearFuel MultiSeat  
BusDoorSteeringEngineGearFuel MultiSeat  
CarTyreSteeringEngineGearFuel 2 Row Seat  
CarDoorSteeringEngineGearFuel 2 Row Seat  
BikeTyreHandbarEngineGearFuel Single SeatPillion 
CycleTyreHandbar   PedallingSingle 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?



Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>