I have the following code populating a dropdown listbox. The list box displays all records from "REG" except what should be the first one (Alphabetical order). When the first record is selected and the data saved, the "ALIAS" saved is the record missing as detailled above. This is also true when another selection in the list is made, always the previous record (in alpha order) is saved to the database. There is also a blank record at the end of the listbox. Can anyone help please.
<%
set outpostDB = Server.CreateObject("ADODB.Connection"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
outpostDB.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Server.MapPath("\db\tribes.mdb"
+ ";Persist Security Info=False"
sqltext = "select * from Reg ORDER BY Reg.Alias "
set itemSet = outpostDB.Execute(sqlText)
%>
<% do while not itemSet.eof %>
<SELECT NAME=p_Member>
<%=itemSet("alias"
%>
<OPTION VALUE=<%=itemSet("Alias"
%>
<% itemSet.movenext %>
<% loop %>
</SELECT>
<%
set outpostDB = Server.CreateObject("ADODB.Connection"
outpostDB.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Server.MapPath("\db\tribes.mdb"
sqltext = "select * from Reg ORDER BY Reg.Alias "
set itemSet = outpostDB.Execute(sqlText)
%>
<% do while not itemSet.eof %>
<SELECT NAME=p_Member>
<%=itemSet("alias"
<OPTION VALUE=<%=itemSet("Alias"
<% itemSet.movenext %>
<% loop %>
</SELECT>