Forums
This topic is locked
Limit Output of Text Characters
Posted 02 Oct 2002 02:23:30
1
has voted
02 Oct 2002 02:23:30 Ben Chambless posted:
Hello,I am designing a product listing page. I want to show the first couple of lines of each products description. How do I limit the the number of text characters output? Thanks.
Replies
Replied 02 Oct 2002 12:40:09
02 Oct 2002 12:40:09 Owen Eastwick replied:
www.udzone.com/forum/topic.asp?TOPIC_ID=20017&FORUM_ID=544&CAT_ID=2&Topic_Title=Displaying+sample+of+text+from+a+database+record&Forum_Title=%2A%2A%2A+Macromedia+MX+%2A%2A%2A
Regards
Owen.
Multiple Parameter UD4 / Access 2000 Database Search Tutorial:
www.tdsf.co.uk/tdsfdemo
Regards
Owen.
Multiple Parameter UD4 / Access 2000 Database Search Tutorial:
www.tdsf.co.uk/tdsfdemo
Replied 02 Oct 2002 21:22:07
02 Oct 2002 21:22:07 Dave Thomas replied:
A simple way to do it is like :
<%= (rsYourRecordset.field.item("DBField".value)
changed to:
<%= Left(rsYourRecordset.field.item("DBField".value, 200)%>...
will show 200 characters with 3 trailing dots.
Regards,
Dave
UD4 || Flash || Access ||Web Hosting
<%= (rsYourRecordset.field.item("DBField".value)
changed to:
<%= Left(rsYourRecordset.field.item("DBField".value, 200)%>...
will show 200 characters with 3 trailing dots.
Regards,
Dave
UD4 || Flash || Access ||Web Hosting
Replied 02 Oct 2002 23:45:50
02 Oct 2002 23:45:50 Ben Chambless replied:
Thats exactly what I needed. Thanks for the help!!