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
- This is a "By design" behavior
- An entry for an enhancement has been added to the SAP Idea Place: Support of SubScript and Superscript
- For consideration of this enhancement, vote up the idea
Resolution
- Work-around
- Use the chrw() function and create a formula
- Use Arial Unicode font for the formula text
- Example formula to display
:
"CO"&chrw(8322)
Keywords
sub script super supper supperscritp , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , How To
Product
Crystal Reports 2008 V1 ; SAP Crystal Reports 2011 ; SAP Crystal Reports, developer version for Microsoft Visual Studio