angie.zhou Posted February 9, 2016 Share Posted February 9, 2016 HiWhen we generate a report in csv format, there is No carriage returns at the end of the lines.Jasper: csvstandard csv Link to comment Share on other sites More sharing options...
hozawa Posted February 10, 2016 Share Posted February 10, 2016 Set the following property:net.sf.jasperreports.export.csv.record.delimiterFYI, there's also following property to set character to delimit fields:net.sf.jasperreports.export.csv.field.delimiter Link to comment Share on other sites More sharing options...
LuttermJ Posted February 13, 2018 Share Posted February 13, 2018 After many frustrating hours, trying to solve the exact same problem ... I have a "simple" solution:Open the "properties" for your project (<abc>.jrxml)Select Jaspersoft StudioSelect ExportersSelect CSV ExporterChoose whether you want to make this change globally (i.e. Workspace), or only for the "Project", or only for the "File"In the "Record Delimiter" field enter "rn" (without quotes)I found that when entering "nr", as recommended by Jaspersoft ... then the .CSV file contains <LF><CR>, which is not properly interpreted/displayed by Windows ... causing the very long line without apparent breaks.Jon Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now