Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #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
Reply With Quote
  #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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 10:52 AM.


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