Displaying Line Breaks from a memo field

R

RH

I have this code:

snip---
strWBody=strWBody & "<p><b>Details of Sale:<b><br>"
&recordset.fields("Details")&"<br>"
response.write strwbody & "<br><hr>"
snip---

I am writing everything to a strWBody because I have a bunch of fields to
test for empty data. Those I don't want to show up.
But, I need to print the Details Memo Field with any Line Breaks or Carriage
Returns that may be in it, instead of one long line of text.

I haven't done it in such a long time that I completely forget how to change
the code above so that it will accomplish this.
Can anyone help please? I've tried the replace function, and I can't seem
to get it to work

TIA for any help you can give
 
R

RH

HI Curt - thanks for the quick answer, but I don't get it *sigh*
Can you show me where these 2 suggestions fit with my code please?
thanks in advance for your help
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top