Ask a questionAsk a question
 

AnswerProblem with TABS

  • Monday, June 22, 2009 10:16 PMSSlovensky Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hello;

    I'm having a strange problem with crystal reports.  I've tried it with both vs 2005 and vs 2008 and the same issue happens with both.

    The application stores rich text from a RichTextBox control in a ntext field of a 2008 database.  I'm confident the data is saved correctly since when I look at the column in the database I can see the formatting characters for the fonts, bold, tab's etc.

    My problem arises when I use tabs.  When text is lined up with tabs in the RTB, they don't always line up when printed with a crystal report.  I have the RTF enabled on the paragraph tab for the field.   I know it's displaying rich text since the bold, fonts, underline print on the report fine.  If I look at the column in the database I see \tab tags so that seems ok.  I must be missing something.

    Any ideas?

    Now I'm confident that it's something with crystal reports.  I quickly added some code that saves the rich text to a file.  I'm able to open it in word and the tabs display correctly.

    Anyone know if the 2008 SP1 from the crystal web site would help?

     





    Thanks in advance.

     


    Stephen

Answers

All Replies