Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old June 8th, 2003, 06:27 PM
Registered User
 
Join Date: Jun 2003
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default displaying a memo in a textarea

I am having a problem displaying data from a memo field in a text area.
I use the following code to populate the textarea which produces mixed results.
replace(rs.Fields.Item("kk_Memo"),Chr(13) & chr(10),"<BR>")

Sometimes it returns part of the text to the text area, but it includes the <br>'s. Other times, the textarea is completely blank.

Anyone have any ideas where I am going wrong?

Thanks,
jeff
  #2 (permalink)  
Old June 9th, 2003, 11:04 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Sydney, NSW, Australia.
Posts: 111
Thanks: 0
Thanked 0 Times in 0 Posts
Default

See http://support.microsoft.com/default.aspx?scid=200124 (Accessing SQL Server Text or Access Memo field returns no data in ASP).

You should be using the .GetChunk() method to extract the data from the Access Memo field.

Cheers
Ken

www.adOpenStatic.com


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tab function + <textarea></textarea> Adam H-W HTML Code Clinic 0 April 24th, 2007 10:36 AM
Displaying textarea content to html table keithc Pro PHP 2 December 1st, 2006 03:12 AM
Memo field not displaying meichmann SQL Server ASP 3 August 31st, 2006 11:36 AM
problem displaying text fron Db to textarea mail4nrs Classic ASP Databases 4 August 20th, 2004 08:31 AM
display vbCrLf's from textarea to textarea mat41 Classic ASP Basics 8 June 10th, 2004 12:19 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.