CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Can't get text within TextArea in code?

Print topic Send  topic

Author Message
Slopey

Posts: 33
Posted: 03/11/2007, 1:27 PM

Hi All,

I've got a form called NewRecord on which I have a textarea, TextArea1, and a button. In the server on click event of the button I have;

SQL = "UPDATE Timesheet SET TimesheetReason = '" & newRecord1.TextArea1.value & "' WHERE TimesheetId = " & Cstr(myTimesheet)
Connection1.Execute(SQL)

However, when this code is run it always puts a blank into the field - it's not null, it's just "".

Is .value the wrong property to use?

Cheers,
S.
View profile  Send private message
Slopey

Posts: 33
Posted: 03/12/2007, 7:26 AM

Solved - deleted the page, recreated and its working fine now - very odd however :(
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.