Arrays

E

Eugene Anthony

<%
openDB()

call updateDB("usp_retrieveOptions",rs)

if not rs.eof AND (UBOUND(Arr)) < CInt(rs("rc")) - 1 then
%>
<tr>
<td width="66">Options</td>
<td width="137">
<select name="select1" class="TextField1">
<%
i = 0

do while not rs.eof

if rs(0) <> Arr(i) then
response.write "<option value=" & rs(0) & ">" & rs(1)
end if

rs.movenext

loop
%>
</select>


I am facing problem is this part:

if rs(0) <> Arr(i) then
response.write "<option value=" & rs(0) & ">" & rs(1)
end if

There is a set of values stored in Arr(). Now if if rs(0) <> Arr()
display in the combo box.

How is it done?

Your help is kindly appreciated.


Eugene Anthony
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,968
Messages
2,570,153
Members
46,701
Latest member
XavierQ83

Latest Threads

Top