Remove that line I told you to add, I took a look, and that's not where it
should be.
Put it back in further down
I STRONGLY recommend you get rid of dreamweaver until you know what's going
on. This code is a nightmare to try and decipher.
if blnHasTextSpec = true then
While ((Repeat1__numR ows <> 0) AND (NOT rsListing.EOF))
%>
<tr><td><a href="sublistin g.asp?Item_ID=< %=rsListing("It em_ID") %>"> <%
rsListing("Text _Spec")%> </a> </td>
<% if rsListing("lrg_ img") > "" then %>
<td><% =rsListing("lrg _img") %> </td>
<% end if %>
<% if rsListing("Item _ID") > "" then %>
<td colspan="2"><% rsListing("Item _ID") %> </td>
<% end if %>
<% if rsListing("Spec ific_imagesm") > "" then %>
<td colspan="2"><% rsListing("Spec ific_imagesm") %> </td>
<% end if %>
</tr>
<%
Repeat1__index= Repeat1__index+ 1
Repeat1__numRow s=Repeat1__numR ows-1
rsListing.MoveN ext()
Wend
else
While ((Repeat1__numR ows <> 0) AND (NOT rsListing.EOF))
%>
<tr>
<% if rsListing("Inve ntory_ID") > "" then %>
<td><% rsListing("Inve ntory_ID") %> </td>
<% end if %>
<% if rslisting("prod uct_name") > "" then %>
<td><% rsListing("Prod uct_Name") %></td>
<% end if %>
<% if rsListing("Desc rMetric") > "" then %>
<td><% rsListing("Desc rMetric") %></td>
<% end if %>
<% if rsListing("Colo r") > "" then %>
<td><% rsListing("Colo r") %></td>
<% end if %>
<% if rsListing("grad es") > "" then %>
<td><% rsListing("Grad es") %></td>
<% end if %>
<% if rsListing("word s") > "" then %>
<td><% rsListing("word s") %></td>
<% end if %>
</tr>
<% rsListing.MoveN ext 'ADD THIS%>
<%WEND 'ADD THIS%>
</table>
"Raphael Gluck" <iwish i could tell you @alas blame the spammers> wrote in
message news:eD******** ******@TK2MSFTN GP10.phx.gbl...
Thanks for that
Just a little question,
I paste the following line in
<%WEND 'ADD THIS%>
I tried that and i'm still getting an error
Expected statement
/listing.asp, line 181
WEND 'ADD THIS
I'm obviously supposed to insert something, but what?I'm not sure what
wends are, and how to close themExcuse my IgnoranceRaphae l