Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

line breaks missing when displaying database record

Status
Not open for further replies.

eljacobs

Programmer
Oct 13, 2003
47
GB
Hi Guys

I have entered a record into an access datbase that has several paragraphs. However, when i display the record in a page the text is displayed as one long paragraph with no line breaks. The formatting has saved in the database so the problem occurs when the record is displayed.

Any advice on how to solve this problem is much appreciated.

Elliot
 
This has been answered many times before and I'm sure there is an FAQ on the subject.
Code:
Replace(objRS("MyTextField"),vbcrlf,"<BR>")

Tony
________________________________________________________________________________
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top