Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access_asp thread: Can I insert line breaks into an Access memo field


Message #1 by "Tony DiNucci" <tonydinucci@h...> on Sat, 6 Oct 2001 15:28:07
I would like to be able to write out a news story in a form and insert it 

into an access db(this is no problem).

At the minute however when I open the story in an ASP page the format of 

my message is one continuous line when I would like the line breaks and  

paragraphs included. (just like on this message board)



If anyone can answer this question I would be very gratefull.



Tony 
Message #2 by "Jose Bueno" <jbueno@i...> on Thu, 11 Oct 2001 18:20:41
Tony, the first thing you need to check is the format of the data in the 

Access memo field.  If, on an access form it is displayed correctly, line 

breaks and all, you're good to go. If you're inputting via an asp page 

into a textarea input field, you may want to explore the Wrap option for 

that tag (hard, soft, auto).



As far as displaying it properly, you need to enclose the text you are 

outputting within the <PRE></PRE> tagset.




  Return to Index