Hi,
can someone please tell me why code No1 pulls ALL 7 records from my table but code No2 only pulls 3 (seemingly random) records?
No1/:
'Image drop down menu taken from
SQL2 = "SELECT * FROM News_Article_Pictures ORDER BY Picture_Title Asc"
Set RS2 = Connection.Execute(SQL2)
Do while not RS2.eof
Response.write "<option Value='" & RS2("PictureID"
& "'>" & RS2("Picture_Title"
RS2.Movenext
Loop
RS2.close
Set RS2=nothing
No2/:
'Image drop down menu taken from
SQL2 = "SELECT * FROM News_Article_Pictures ORDER BY Picture_Title Asc"
Set RS2 = Connection.Execute(SQL2)
Do while not RS2.eof %>
<option Value="<%=RS2("PictureID"
%>><%=RS("Picture_Title"
%></option>
<%
RS2.Movenext
Loop
RS2.close
Set RS2=nothing
Many thanks...
can someone please tell me why code No1 pulls ALL 7 records from my table but code No2 only pulls 3 (seemingly random) records?
No1/:
'Image drop down menu taken from
SQL2 = "SELECT * FROM News_Article_Pictures ORDER BY Picture_Title Asc"
Set RS2 = Connection.Execute(SQL2)
Do while not RS2.eof
Response.write "<option Value='" & RS2("PictureID"
RS2.Movenext
Loop
RS2.close
Set RS2=nothing
No2/:
'Image drop down menu taken from
SQL2 = "SELECT * FROM News_Article_Pictures ORDER BY Picture_Title Asc"
Set RS2 = Connection.Execute(SQL2)
Do while not RS2.eof %>
<option Value="<%=RS2("PictureID"
<%
RS2.Movenext
Loop
RS2.close
Set RS2=nothing
Many thanks...