Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Reports / Printing / October 2005

Tip: Looking for answers? Try searching our database.

Repost + new thread: Replace html code with line breaks

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mogens - 31 Oct 2005 13:29 GMT
In an earlier thread I got some good advise on concatenating text
strings and line break characters: Chr(13) & Chr(10)

However, I cannot make this work if I have a text string in a database
field like for instance: "This is line 1 <br>This is line 2<br>This is
line 3"

I assume it would somehow be possible to make a Replace function and get
the above to output in the report like this:

This is line 1
This is line 2
This is line 3

But exactly how should this be done?
Brendan Reynolds - 31 Oct 2005 14:36 GMT
=Replace([YourFieldName], "<br>", Chr$(13) & Chr$(10))

Signature

Brendan Reynolds

> In an earlier thread I got some good advise on concatenating text strings
> and line break characters: Chr(13) & Chr(10)
[quoted text clipped - 11 lines]
>
> But exactly how should this be done?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.