I'm trying to create an report in CR 8.5 that exports invoices from our SQL database into a comma-delimited text file. The report consists of an invoice header group followed by the invoice detail line items. I managed to get the report looking good in crystal but when I export it to character separated file using , as the separator and nothing as the delimiter, the invoice line items end up on the same line as the header info.
Export should look like this:
H,COMPANY NAME,123456,PO#1234,12/15/03,64.50
L,100,EA,AA BATTERY,.32,32.00
L,50,EA,D BATTERY,.65,32.50
Unfortunately this is how it comes out:
H,COMPANY NAME,123456,PO#1234,12/15/03,64.50,L,100,EA,AA BATTERY,.32,32.00,L,50,EA,D BATTERY,.65,32.50
How can I fix this formatting so our customer can import this file without any problems?
Export should look like this:
H,COMPANY NAME,123456,PO#1234,12/15/03,64.50
L,100,EA,AA BATTERY,.32,32.00
L,50,EA,D BATTERY,.65,32.50
Unfortunately this is how it comes out:
H,COMPANY NAME,123456,PO#1234,12/15/03,64.50,L,100,EA,AA BATTERY,.32,32.00,L,50,EA,D BATTERY,.65,32.50
How can I fix this formatting so our customer can import this file without any problems?