Make sure my_field is set to MEMO within the database.
I found that to work best.
----- Original Message -----
From: "Todd Ashworth" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 02, 2000 11:35 AM
Subject: probs. inserting <textarea> into database
> I am trying to insert the contents of a <textarea> field into a database.
> It all seems really straight forward to me, but for some reason, I can't
get
> it to work. It does everything except actually insert the data. I just
> don't get it. Anyone?
>
> ----- snip -----
>
> <form action="action_page.cfm" name="UpdateForm" method="post"
> enctype="multipart/form-data">
> <textarea name="txtTextArea" cols="60" rows="10"
> wrap="hard"><cfoutput>#My_Query.my_field#</cfoutput></textarea>
> <input type="Submit" name="Update_Button" value="Update">
> <form>
>
> ----- snip -----
>
> <CFIF IsDefined('Form.txtTextArea')>
> <CFQUERY datasource=#Session.DSN# name="My_Update_Query">
> UPDATE my_table
> SET my_field = '#Form.txtTextArea#'
> </CFQUERY>
> </CFIF>
>
> ----- snip -----
>
> .Todd
>
>
> --------------------------------------------------------------------------
----
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.