i have this code for populating combo boxes for the page the admin staff, allowing them to search for courses that have been booked in accordance to their skill level, however seen as it is for my A2 computing i decided to populate the combo box with the values from the table, sadly, as expected, it shows reoccurences of the same value inputted on the table, so how do I adapt my current code for this to essentially do the equivalent of a SELECT DISTINCT, yet stil populate the combo box. Thanks
<%
set db=server.createobject("adodb.connection")
set orseof=server.createobject("adodb.recordset")
db.open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("skiRossy.mdb")
orseof.open "tblprivate",db
%>
<% Do While Not orseof.EOF ' define the ListBox OPTIONs %>
<OPTION VALUE="<%= orseof("skill") %>"> <%= orseof("skill") %>
<% orseof.MoveNext %>
<% Loop %>
<% orseof.Close %>
</SELECT>