Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access_asp thread: Too many blank lines displayed after retrieved Access memo field.


Message #1 by "Curtis J. Pogue" <poguec@c...> on Mon, 18 Nov 2002 22:01:06
I'm using an Access 2000 database to store username, password and text to 
display.  The text is a memo field and the user enters there information 
into it and it displays fine except there are several blank lines below 
the text.

I look at the data stored in the field and it stops right after the last 
word.  But it's displaying on the web like there are several blank lines.

I'm displaying the information in a DIV statement if that makes any 
difference.
Message #2 by "Cove Nacer" <cove@x...> on Tue, 19 Nov 2002 01:13:18
My guess is that you display this information in a <textarea> tag, 
correct?
If so, your problem is most likey that you have it set up like this:

<textbox>
<%=INFO%>
</textbox>

When it should be set up like this:

<textbox><%=INFO%></textbox>

Because everything between <textbox> and </textbox> is displayed in that 
textbox..even a line break.

  Return to Index