Solution: Exported CSV Columns are Misaligned or Off when I open the file

Modified on Sat, 16 Jul 2022 at 02:34 AM

CAUSE
Your returned data likely contains commas.

This is not a bug with Crystal Delivery or Crystal Reports.  This is simply how CSV (Comma Separated Values) work. 
The returned data being returned from the database is confusing Excel (and google sheets in my case).

SOLUTION:
  1. You will set the Delimiter in Crystal Delivery > Settings > File Export > CSV > Delimiter > Set to "+" without quotes or use something else
  2. In Excel, you will follow the instructions to change the Delimiter it expects to a "+" sign
    https://www.spreadsheetweb.com/how-to-change-csv-delimiter-in-excel/
The data will look like  +field1+field2+,,,,,,+field 4
The + sign will not interfere with the returned commas.

Proof - My Test
Proof - Export Results


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us how can we improve this article!

Select atleast one of the reasons

Feedback sent

We apprciate your effort and will try to fix the article