stvchezgm123
Technical User
I have a simple task that I need to work out. the field in my db (comments) needs to be limited, then a conditional read more gets set in place.
here's what I have so far:
' this is the field, limited to 200 characters
<%= Left(rs("comments"),200) %>
<%
if len(rs("comments")) > 200 then
response.Write("read more...")
end if %>
when I do a response.write of the above, i get a value of zero, so I'm doing something wrong.
here's what I have so far:
' this is the field, limited to 200 characters
<%= Left(rs("comments"),200) %>
<%
if len(rs("comments")) > 200 then
response.Write("read more...")
end if %>
when I do a response.write of the above, i get a value of zero, so I'm doing something wrong.