Quantcast
Viewing all articles
Browse latest Browse all 3636

Tab key does not work when exporting report to MS Word

We have a crystal report that was converted from Crystal 8.5 to Crystal 13 that comes with Visual Studio 2010.  When users request it, the code exports the report into MS Word using the following:

 

  • crExportOptions.ExportFormatType = ExportFormatType.EditableRTF;
  • crExportOptions.FormatOptions = crFormatWordOptions;
  • crystalReport.Export();

 

Since it was moved to VS 2010, the tab key does not work in the resulting Word document no matter what version of Word our users have 2003, 2010, or 2013.  Going to the ‘Format\Tabs’ menu option in Word 2003 revealed that the ‘Default tab stop’ value was changed from 0.5 to 0 during the process of export from Crystal to Word!  If we manually change this back to 0.5 everything is fine and under Crystal 8.5 everything was fine too.  It started happening only after migrating to Crystal 13.  I am not sure what the last update to Crystal was, CRforVS_13_0_5.exe or CRforVS_13_0_7.exe.  Is there any way I can tell? I have not been able to find anything about this problem online and appreciate any help you can provide.

 

Thanks,

Reza


Viewing all articles
Browse latest Browse all 3636

Trending Articles