J
Jay
I am trying to show pictures in a table where the name of the pic is located
in my access database. I would like two columns with a different pic in
each column. Below is the code. I guess my question is I am trying to
advance the to the next record before my wend statement. I used
rstemp.movenext and it comes up with an error saying either BOF or EOF is
true. It works if I remove the first rstemp.movenext statement, but it is
only 1 column. Any help?
<%while not rstemp.eof%>
<tr>
<td width="55%"><div align="center">
<p><img src="pics/<%= rstemp("picname")%>" width="294"
height="203"></p>
<p><%= rstemp("title")%></p>
</div></td>
<td width="45%"> </td>
</tr>
<%rstemp.movenext%>
<tr>
<td><div align="center">
<p><img src="pics/<%= rstemp("picname")%>" width="294"
height="203"></p>
<p><%= rstemp("title")%></p>
</div></td>
<td> </td>
</tr>
<%rstemp.movenext
wend%>
in my access database. I would like two columns with a different pic in
each column. Below is the code. I guess my question is I am trying to
advance the to the next record before my wend statement. I used
rstemp.movenext and it comes up with an error saying either BOF or EOF is
true. It works if I remove the first rstemp.movenext statement, but it is
only 1 column. Any help?
<%while not rstemp.eof%>
<tr>
<td width="55%"><div align="center">
<p><img src="pics/<%= rstemp("picname")%>" width="294"
height="203"></p>
<p><%= rstemp("title")%></p>
</div></td>
<td width="45%"> </td>
</tr>
<%rstemp.movenext%>
<tr>
<td><div align="center">
<p><img src="pics/<%= rstemp("picname")%>" width="294"
height="203"></p>
<p><%= rstemp("title")%></p>
</div></td>
<td> </td>
</tr>
<%rstemp.movenext
wend%>