SAP Knowledge Base Article - Public

2673318 - Exporting Crystal reports to Word-Doc starting from Crystal runtime SP21 changes decimal separator


  •  When exporting a crystal report to Word-Doc using Crystal runtime starting from version SP21 over the embedded preview (Winform), the decimal separator of the calling application changes from "." to ",".
  • This is only reproducible with Doc-Export. Xls for example is working fine.


  •  Crystal reports 2016 SP4
  • Windows 10 and 7
  • Crystal reports for visual studio SP21
  • .Net framework 4.5
  • Visual studio 2017

Reproducing the Issue

 Export any crystal report to Word-Doc using .Net application


Starting from Crystal runtime SP21, the locale had been changed.



Call : _configthreadlocale(_ENABLE_PER_THREAD_LOCALE); as described by the following Microsoft link:


KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Problem


SAP Crystal Reports 2011 ; SAP Crystal Reports, version for Visual Studio all versions