Welcome to WebmasterWorld Guest from 18.207.136.184

Forum Moderators: ocean10000

Message Too Old, No Replies

Only show part of a memo field (classic ASP)

     
2:39 pm on May 4, 2010 (gmt 0)

Junior Member

10+ Year Member

joined:Sept 11, 2009
posts:108
votes: 0


I'm building a news website and I want to only show a certain amount of characters in teh memo field/ part of the news story. Then users can click on 'read more' to view the entire thing on the news.asp?newsid= page

Does anyone know of a way I can do this?
2:48 pm on May 4, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:May 24, 2002
posts:894
votes: 0


Have you tried :

Left(rs("fieldname"),nn)

where nn = number of characters of rs("fieldname") to show, starting from the left
3:17 pm on May 4, 2010 (gmt 0)

Junior Member

10+ Year Member

joined:Sept 11, 2009
posts:108
votes: 0


Cool, I will try that.
4:12 pm on May 4, 2010 (gmt 0)

Junior Member

10+ Year Member

joined:Sept 11, 2009
posts:108
votes: 0


Hi Staffa. That worked great. Thanks very much!
10:09 pm on May 4, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:May 24, 2002
posts:894
votes: 0


You're welcome :)
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members