Are you getting an error message or is the info just not going to the database?
I hope you realize that you have no where clause in your cfquery, so it
should be updating every row.
At 11:35 AM 5/2/00 -0400, you wrote:
>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.