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__numRows <> 0) AND (NOT rsListing.EOF))
%>
<tr><td><a href="sublisting.asp?Item_ID=<%=rsListing("Item_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("Specific_imagesm") > "" then %>
<td colspan="2"><% rsListing("Specific_imagesm") %> </td>
<% end if %>
</tr>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
rsListing.MoveNext()
Wend
else
While ((Repeat1__numRows <> 0) AND (NOT rsListing.EOF))
%>
<tr>
<% if rsListing("Inventory_ID") > "" then %>
<td><% rsListing("Inventory_ID") %> </td>
<% end if %>
<% if rslisting("product_name") > "" then %>
<td><% rsListing("Product_Name") %></td>
<% end if %>
<% if rsListing("DescrMetric") > "" then %>
<td><% rsListing("DescrMetric") %></td>
<% end if %>
<% if rsListing("Color") > "" then %>
<td><% rsListing("Color") %></td>
<% end if %>
<% if rsListing("grades") > "" then %>
<td><% rsListing("Grades") %></td>
<% end if %>
<% if rsListing("words") > "" then %>
<td><% rsListing("words") %></td>
<% end if %>
</tr>
<% rsListing.MoveNext 'ADD THIS%>
<%WEND 'ADD THIS%>
</table>
"Raphael Gluck" <iwish i could tell you @alas blame the spammers> wrote in
message news:eD**************@TK2MSFTNGP10.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 IgnoranceRaphael