Hello.
I have an ASP/Javascript results page with output from an nvarchar field in SQL. I need to truncate the output to a predetermined number of characters followed by (...). I found one post using:
<%=LEFT(SearchResults.Fields.Item("entry_content").Value).Value,100)%>
but I receive a 500 error using this code and assume this code works with Access and not SQL.
Any suggestions would be appreciated. Thanks in advance.
I have an ASP/Javascript results page with output from an nvarchar field in SQL. I need to truncate the output to a predetermined number of characters followed by (...). I found one post using:
<%=LEFT(SearchResults.Fields.Item("entry_content").Value).Value,100)%>
but I receive a 500 error using this code and assume this code works with Access and not SQL.
Any suggestions would be appreciated. Thanks in advance.