Symptom
- A field is formatted to use Times New Roman font.
- The field right aligned and set to display two decimal places.
- The coma used as the decimal separator does not align from record to record:
Environment
- SAP Crystal Reports, developer version for Microsoft Visual Studio
- Microsoft Visual Studio (2010 / 2012)
Reproducing the Issue
- Create a Crystal Report with a numeric field
- Set the font to be Times New Roman
- Right justify the field
- Run in a Windows application that uses the Crystal Reports SDK for Visual Studio .NET
Cause
- Times New Roman font is not a proportional font.
- Every letter and number has a different width.
Resolution
- Use a non-proportional font such as Courier New or Lucida Console
See Also
Keywords
CR CRVS CR4VS space text digit number exact , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , How To
Product
SAP Crystal Reports, developer version for Microsoft Visual Studio