SAP Knowledge Base Article - Public

1912524 - How to add subscripts or superscripts to text in a Crystal Report

Symptom

Crystal Reports does not support an HTML or RTF subscript/superscript tags

Environment

  • SAP Crystal Reports 2011
  • Crystal Reports 2008
  • SAP Crystal Reports, developer version for Microsoft Visual Studio

Reproducing the Issue

  •  HTML tag such as: '<p>'&{psp_GetPortfolioName;1.PortfolioName}&'<sup>1</sup></p>' is ignored
  • RTF tag such as: '{\rtf1\ansi\deff0 {\fonttbl {\f0 arial;}}  {\pard\fs22'&{psp_GetPortfolioName;1.PortfolioName}&'\super 1\par}' is ignored

Cause

Resolution

  • Work-around
  • Use the chrw() function and create a formula
  • Use Arial Unicode font for the formula text
  • Example formula to display Untitled.png:

 

"CO"&chrw(8322)

 

 

Keywords

sub script super supper supperscritp , KBA , BI-RA-CR , Crystal Reports designer or BusinessViews Manager , How To

Product

Crystal Reports 2008 V1 ; SAP Crystal Reports 2011 ; SAP Crystal Reports, developer version for Microsoft Visual Studio