|  | Posted by Tony Rogerson on 05/16/06 12:39 
Sounds as if you need to convert your carraige return / line feed into the HTML <BR> tag which will then give you the correct formatting on the screen.
 
 If you want to do it in the database then use REPLACE( <col>, char(13) +
 char(10), '<BR>' ) - check, it might be 10, 13 :)
 
 Tony
 
 --
 Tony Rogerson
 SQL Server MVP
 http://sqlserverfaq.com - free video tutorials
 
 
 <alamb200@hotmail.com> wrote in message
 news:1147771818.200249.269650@j55g2000cwa.googlegroups.com...
 > Hi
 > I have set up a SQL database to contain alist FAQ's for our company and
 > then plan to pull this info off using a web page.
 >
 > So far I have entered the data but I am unable to control how it is
 > displayed inside SQL ie I cannot enter new blank lines I have tried
 > using lots of spaces but this does not work when I use the website to
 > display the info.
 >
 > Is there a way of formatting and editing the data in the sql database
 > as I am unable to do this, if I try to edit the data in the database I
 > have to copy it to notepad delete what is in the database, edit the
 > text in notepad then paste it back in.
 >
 > There must be a better way.
 >
 > Please help
 >
 > alamb200
 >
  Navigation: [Reply to this message] |