I am using the below query in my asp page. my dropdown is populated from this query and the text value that is displayed is ntext from the query. ntext can be the same for every nval value and in my dropdown control there is a duplicate. how can I just only display one ntext value
nval ntext
16 ArdenHills
17 ArdenHills
18 ArdenHills
as you can see I have three ArdenHills in my dropdown control. I would like only to display one....any clue
thanks
SqlStr = "select distinct ds.subarea_id nval, ds.DESCRIPTION ||' - '|| sd.CODE ntext from DISTRICT_SUBAREA ds, sub_district sd where ds.SUB_D_ID = sd.sub_d_id order by ntext";
nval ntext
16 ArdenHills
17 ArdenHills
18 ArdenHills
as you can see I have three ArdenHills in my dropdown control. I would like only to display one....any clue
thanks
SqlStr = "select distinct ds.subarea_id nval, ds.DESCRIPTION ||' - '|| sd.CODE ntext from DISTRICT_SUBAREA ds, sub_district sd where ds.SUB_D_ID = sd.sub_d_id order by ntext";