crmpicco
06-15-2005, 12:40 PM
<%
Do Until rst1.EOF
if trim(rst1("company_name")) = trim(rscompany("company_name")) then
response.write ""
else
%>
<option value="<%=trim(rst1("agencyid"))%>"><%=trim(rst1("company_name"))%></option>
<%
end if
rst1.movenext
loop
%>
I have this structure for a drop-down menu. Basically, i dont want to show one result of the loop. how can i do this?
Do Until rst1.EOF
if trim(rst1("company_name")) = trim(rscompany("company_name")) then
response.write ""
else
%>
<option value="<%=trim(rst1("agencyid"))%>"><%=trim(rst1("company_name"))%></option>
<%
end if
rst1.movenext
loop
%>
I have this structure for a drop-down menu. Basically, i dont want to show one result of the loop. how can i do this?