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
|
|
|
|