CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 ASP-Problem displaying text in Updateable Grid

Print topic Send  topic

Author Message
Ken Hardwick
Posted: 01/31/2002, 3:38 PM

ASP-Working with Updateable Grid but have ran across a problem with text field.
I am using the following to display/update a text field thru a updateable grid.

fldComments = "<input type=text name=C" & fldKEY_SEQUENCE_P & " maxlength=128 size=50 value=" & fldCOMMENTS & ">"

The update works..for instance if I type in "Ken Hardwick" as one of the comments. Then "Ken Hardwick" is added to the database correctly.

However, when displaying the same, only "Ken" is display. So it keeps cutting off at the first blank in the fldComments value.

Any suggestions/work-arounds so that I can get the entire line of text displayed correctly.

Thanks,
Ken Hardwick
CodeCharge Support
Posted: 01/31/2002, 4:42 PM

You should enclose the value within single quotation marks to that it is a single string i.e

value='" & fldCOMMENTS & "'>"
Ken Hardwick
Posted: 01/31/2002, 5:46 PM

Thanks Much...that worked great...Ken

   


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

Web Database

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.