Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP Forms As of Oct 5, 2005, this forum is now locked. Please use "Classic ASP beginner" at http://p2p.wrox.com/forum.asp?FORUM_ID=54 or "Classic ASP Professional" http://p2p.wrox.com/forum.asp?FORUM_ID=56 instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP Forms 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
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 20th, 2004, 06:22 PM
Registered User
Join Date: Apr 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Memo Datatype Error


I'm saving a textarea value from a form into an Access DB. When the textarea info hits the Comments field, which has a datatype of Memo, it is not updated. However, if the Comments field is set to a datatype of Text, the info is saved. But, it will only save up to 255 characters. I want to use Memo to save a long message. How can I get my data saved with a datatype of Memo? Here's the code that updates the Comments field of each record.

'objRS is the recordset, Comments is the filed, and
'finformation is the value of the textarea.
objRS.Update "Comments", finformation

Any help? Thanks.
  #2 (permalink)  
Old April 28th, 2004, 01:12 AM
Friend of Wrox
Join Date: Oct 2003
Location: colombo, WP, Sri Lanka.
Posts: 481
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via MSN to surendran Send a message via Yahoo to surendran


set cnn=Server.CreateObject("ADODB.Connection")
cnn.Open Application("cnn_ConnectionString")
sql = "update tablename set fildname='"&textarea&"'"

(Anything is Possible)

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
Format : Memo scandalous Access 2 February 22nd, 2007 10:31 AM
Memo to text Tachyophan Access VBA 0 October 26th, 2006 06:08 AM
sql error: memo field "LIKE" or "=" gilgalbiblewheel Classic ASP Databases 3 April 29th, 2005 07:16 AM
Datatype Error on Insert cavada1 ADO.NET 0 November 5th, 2003 01:40 PM
Memo fields takabyte Classic ASP Basics 2 October 31st, 2003 06:13 PM

All times are GMT -4. The time now is 01:10 PM.

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