Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: repair the problem about display the data


Message #1 by "shinetime" <shinetime@2...> on Tue, 11 Dec 2001 10:44:34 +0800
This is a multi-part message in MIME format.



------=_NextPart_000_003F_01C18230.D26107E0

Content-Type: text/plain;

	charset="big5"

Content-Transfer-Encoding: quoted-printable



hi,  all, 

i have a problem about display data from access in the browse.

 i can't display all the words of the field,  only the front.  for 

example,

if a field have the words as "sport street", it only display "sport" in 

the browse.  that to say , the words "street" after the space can't 

display in the browse, it can only the front of the space.

i wonder that why it is ?

my code is as follow:

  <input type=3Dtext name=3Dadd  value=3D<%=3Drs("address")%>



of course,  if i don't use the  "input" , it is good and display all the 

data.  i write as ---  <p> <%=3Drs("address")%></p> ------ and it can 

display good.





please help me.

Any advice will be welcome.

thanks !!!

Best Regards!

shine zhai








Message #2 by Colin.Montgomery@C... on Tue, 11 Dec 2001 10:43:59 -0000
This message is in MIME format. Since your mail reader does not understand

this format, some or all of this message may not be legible.



------_=_NextPart_001_01C18230.BD7E59E0

Content-Type: text/plain; charset="big5"



are you sure it's not to do with the default MAXLENGTH attribute of the text

box?  Default is 20 as far as i'm aware - you might want to try:

 

<input type="text" name="add" maxlength="100" value="<%=rs("address")%>>

 

*note extra > at end.  If it's a long address you may want to use:

 

<textarea name="add" rows="4" cols="65"><%rs("address")%></textarea>

 

HTH,

Col



-----Original Message-----

From: shinetime [mailto:shinetime@2...]

Sent: 11 December 2001 02:45

To: ASP Databases

Subject: [asp_databases] repair the problem about display the data







hi,  all,  

i have a problem about display data from access in the browse.

 i can't display all the words of the field,  only the front.  for example, 

if a field have the words as "sport street", it only display "sport" in the

browse.  that to say , the words "street" after the space can't display in

the browse, it can only the front of the space.

i wonder that why it is ? 

my code is as follow:

  <input type=text name=add  value=<%=rs("address")%>

 

of course,  if i don't use the  "input" , it is good and display all the

data.  i write as ---  <p> <%=rs("address")%></p> ------ and it can display

good.

 

 

please help me.

Any advice will be welcome.

thanks !!!

Best Regards!

shine zhai

 




$subst('Email.Unsub'). 







********************************************************************************************************************



This message and any attachment are confidential and may be privileged or otherwise protected from disclosure.  If you are not the
intended recipient, please telephone or email the sender and delete this message and any attachment from your system.  If you are
not the intended recipient you must not copy this message or attachment or disclose the contents to any other person.



For further information about Clifford Chance please see our website at http://www.cliffordchance.com or refer to any Clifford
Chance office.




Message #3 by "Daniel O'Dorisio" <daniel@o...> on Tue, 11 Dec 2001 08:25:14 -0500
you will need a extra " to close that as well..



value="<%=rs("address")%>">

~~~~~~~~~~~~~~~~~~~~~~~~~^



daniel



--

-----------------------------

Daniel O'Dorisio

daniel@o...

www.odorisio-networks.com

-----------------------------

<Colin.Montgomery@C...> wrote in message

news:127969@a..._databases...

: are you sure it's not to do with the default MAXLENGTH attribute of the

text

: box?  Default is 20 as far as i'm aware - you might want to try:

:

: <input type="text" name="add" maxlength="100" value="<%=rs("address")%>>

:

: *note extra > at end.  If it's a long address you may want to use:

:

: <textarea name="add" rows="4" cols="65"><%rs("address")%></textarea>

:

: HTH,

: Col

:

: -----Original Message-----

: From: shinetime [mailto:shinetime@2...]

: Sent: 11 December 2001 02:45

: To: ASP Databases

: Subject: [asp_databases] repair the problem about display the data

:

:

:

: hi,  all,

: i have a problem about display data from access in the browse.

:  i can't display all the words of the field,  only the front.  for

example,

: if a field have the words as "sport street", it only display "sport" in

the

: browse.  that to say , the words "street" after the space can't display in

: the browse, it can only the front of the space.

: i wonder that why it is ?

: my code is as follow:

:   <input type=text name=add  value=<%=rs("address")%>

:

: of course,  if i don't use the  "input" , it is good and display all the

: data.  i write as ---  <p> <%=rs("address")%></p> ------ and it can

display

: good.

:

:

: please help me.

: Any advice will be welcome.

: thanks !!!

: Best Regards!

: shine zhai

:




: $subst('Email.Unsub').

:

:

:

:

****************************************************************************

****************************************

:

: This message and any attachment are confidential and may be privileged or

otherwise protected from disclosure.  If you are not the intended recipient,

please telephone or email the sender and delete this message and any

attachment from your system.  If you are not the intended recipient you must

not copy this message or attachment or disclose the contents to any other

person.

:

: For further information about Clifford Chance please see our website at

http://www.cliffordchance.com or refer to any Clifford Chance office.

:





Message #4 by "shinetime" <shinetime@2...> on Wed, 12 Dec 2001 00:24:04 +0800
This is a multi-part message in MIME format.



------=_NextPart_000_0032_01C182A3.4E404700

Content-Type: text/plain;

	charset="big5"

Content-Transfer-Encoding: quoted-printable



hi, HTH, you are right.  thank you very much.

of course, daniel, Kim, thank your advice.



best regards!

shine





  ----- Original Message -----

  From: Colin.Montgomery@C...

  To: ASP Databases

  Sent: Tuesday, December 11, 2001 6:43 PM

  Subject: [asp_databases] RE: repair the problem about display the data





  are you sure it's not to do with the default MAXLENGTH attribute of 

the text box?  Default is 20 as far as i'm aware - you might want to 

try:

  

  <input type=3D"text" name=3D"add" maxlength=3D"100" 

value=3D"<%=3Drs("address")%>>

  

  *note extra > at end.  If it's a long address you may want to use:

  

  <textarea name=3D"add" rows=3D"4" 

cols=3D"65"><%rs("address")%></textarea>

  

  HTH,

  Col

    -----Original Message-----

    From: shinetime [mailto:shinetime@2...]

    Sent: 11 December 2001 02:45

    To: ASP Databases

    Subject: [asp_databases] repair the problem about display the data





    hi,  all, 

    i have a problem about display data from access in the browse.

     i can't display all the words of the field,  only the front.  for 

example,

    if a field have the words as "sport street", it only display "sport" 

in the browse.  that to say , the words "street" after the space can't 

display in the browse, it can only the front of the space.

    i wonder that why it is ?

    my code is as follow:

      <input type=3Dtext name=3Dadd  value=3D<%=3Drs("address")%>



    of course,  if i don't use the  "input" , it is good and display all 

the data.  i write as ---  <p> <%=3Drs("address")%></p> ------ and it 

can display good.





    please help me.

    Any advice will be welcome.

    thanks !!!

    Best Regards!

    shine zhai






$subst('Email.Unsub').





  

*************************************************************************

*******************************************



  This message and any attachment are confidential and may be privileged 

or otherwise protected from disclosure. If you are not the intended 

recipient, please telephone or email the sender and delete this message 

and any attachment from your system. If you are not the intended 

recipient you must not copy this message or attachment or disclose the 

contents to any other person.



  For further information about Clifford Chance please see our website 

at http://www.cliffordchance.com or refer to any Clifford Chance office.




$subst('Email.Unsub').







  Return to Index