True...
Question : What is Microsoft MVP ?
bye bye
"Ray at <%=sLocation%> [MVP]" <myFirstNameATlane34dotKOMM> wrote in message
news:uq0vU0Y6DHA.2576@TK2MSFTNGP11.phx.gbl...[color=blue]
> Why are you assigning the value to the text area using client side code[/color]
like[color=blue]
> that? That defeats half the purpose of ASP.
>
> <%
> Set shipment_db = Server.CreateObject("ADODB.Connection")
> shipment_db.Open "shipment"
> Set shipmentTable = shipment_db.Execute("SELECT * FROM shipment WHERE
> ID=39")
> y=shipmentTable("Specification")
> '
http://www.aspfaq.com/show.asp?id=2424
> shipmentTable.Close : Set shipmentTable = Nothing
> shipment_db.Close : Set shipment_db = Nothing
>
> %>
>
> <FORM name=form1>
> <TEXTAREA rows=4 cols=20 id=textarea1 name=textarea1><%=y%></TEXTAREA>
> </form>
>
>
> --
>
> Ray at home
> Microsoft ASP MVP
>
>
> "Jack" <significance200310a@noyahoo.co.jp> wrote in message
> news:uCybclX6DHA.2044@TK2MSFTNGP10.phx.gbl...[color=green]
> > Hello,
> > <%@ Language=VBScript %>
> > <%
> > Response.Write "<FORM name=form1>"
> > Set shipment_db = Server.CreateObject("ADODB.Connection")
> > shipment_db.Open "shipment"
> > Set shipmentTable = shipment_db.Execute("SELECT * FROM shipment WHERE[/color][/color]
ID[color=blue][color=green]
> > =39")
> > y=shipmentTable("Specification")
> > Response.Write "<TEXTAREA rows=4 cols=20 id=textarea1
> > name=textarea1></TEXTAREA>"
> > %>
> > <Script language=JavaScript>
> > document.form1.textarea1.value="<%=y%>"
> > </Script>
> > <%
> > Response.Write "</FORM>"
> > %>
> > shipment is a Microsoft Access's table,Specification is this table's[/color]
> field.[color=green]
> > But this field has returns.That is to say
> > shipmentTable("Specification")="abc
> > edf
> > ghi"
> > textarea1 cannot shows shipmentTable("Specification")'s value.it shows[/color]
> none.[color=green]
> > Thank you
> >[/color]
>
>[/color]