Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Text Formatting in an SQL Database

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2003-12-17 : 08:24:30
Jeremy writes "Is it possible to format pieces of text within a table field? In my example, I am trying to bold a word in a field (not the whole field) and then export it to MS Word. I know that I can use HTML tags and display the formatted text on a web browser, but I need to use something that has better printing capabilities."

robvolk
Most Valuable Yak

15732 Posts

Posted - 2003-12-17 : 08:26:11
There's really no way to do this in SQL Server, nor should there be. It's a database program, not a formatting or layout program. Export the data to Word (Mail Merge should work nicely) and then write a Word macro to do the formatting.
Go to Top of Page
   

- Advertisement -