Symptom
- No data, when combining two fields in crystal reports.
Environment
Crystal Reports (All Versions)
Reproducing the Issue
- Create a Crystal Report, with three text fields.
- Give Null values to some fields.
- Create the following formula to combine three fields.
- Place formula in detail section.
{Field 1} + {Field 2} + {Field 3}
Cause
This is default behavior of Crystal Reports
Resolution
Do the following to get desired results with the formula :
- Open the formula.
- Select drop down box ‘Exception For Null’ and select ‘Default values for Null.
- Save the formula.
Or
- Insert a Text field on report.
- Place the three fields with a Space after field.
- Then right click on text box, select format and check suppress embedded field blank lines
Keywords
Combine blank fields, blank fields, no data in crystal reports , KBA , BI-RA-CR-DSL , Crystal Reports on Data Semantic Layer , How To
Product
SAP Crystal Reports all versions
SAP Knowledge Base Article - Public