Crystal Sub report printing an extra line in Excel - crystal-reports

I developed a report in Crystal that has to print to Excel.
When printing the report to Excel it adds the data in the columns correctly up until the sub report. The sub report is added in the first column of the next row, then it adds a blank line, and then it adds the remaining columns in the first column on the next row.
I have aligned and resized all the fields in the main report and in the sub report to be the same height. All sections that does not need to print is suppressed in the main report and sub report.
I have removed the margins in the sub report.
I have done the right click a section and arrange lines and fit section
I have tried printing with excel formats: - Excel 97 - 2000 (Extended) and Workbook (Extended)
I don't know what to do from here.
Screenshots of the report:
Design View Crystal
Printed Excel
Export options
The option Excel 97-2000 does not work as it uses multiple columns in Excel for one column as in the screenshot below: (this causes issues when trying to filter or sort the Excel sheet)
Multiple columns issue
I am using Crystal Reports 2013 Support Pack 4, Version 14.1.4.1327

Related

How may I create a table autofilter on a Jasper .xlsx report output - one autofilter per sheet?

I am creating a Jasper report via Jaspersoft Studio 6
I am using the following property to export my report into two separate Excel sheets (tabs): net.sf.jasperreports.export.xls.break.after.row
My report consists of two tables, one table per sheet. So far, I have no issue creating this report.
However, I would also like to implement an excel auto filter on each table header using the following property: net.sf.jasperreports.export.xls.auto.filter
I added the auto filter property to both table headers, with a start and end on both. But when I run the report, the filter only displays on my last table (the one on the second sheet). I imagine this may happen because in Excel, you are only allowed one autofilter per sheet.
How may I put an autofilter on BOTH tables of a jaspersoft .xlsx report output?

How to add blank record after last record in crystal report?

I have a problem with add new blank record after last record in Crystal Report. That blank record should line like below picture in red box.
I want to show row and column in that blank record as in picture.
follow below process
Craete 6 sections in main report and in first section palce the sub report that prints table
In sub report just display table as per your logic and supress remaining sections taht are not used
In main report in blank sections create a similar table structure that you can do by playing with boxes and lines
And finally run the report
An easy way is to Statically create that line after the detail section ( in report footer)
for Ex. you can stretch the lines down in to report footer section and add extra rows there.

Crystal Reports Data Formatting Issue

I inherited a report where when you run it, the data will be divided into two columns and four rows on one page. I am wanting to change the format so it displays like a basic report where it's just rows listed straight down on the page. The report is below. I am using Crystal Reports 2008 version 12.3.
Report Design:
Report Preview:
Right click in the gutter of the Details section and choose Section Expert...
Clear the Format with Multiple Columns checkbox

how to pass formula which is in group of main report to sub report (crystal report)

This question about crystal report.
I have crystal report, which has a formula in Group Section. I want to show all the generated group names in bottom of the crystal report.
So I have insert subreport to Main report footer. Then created a formula and link it to main report
formula.
But When running, in sub report, only show last generated group name only.
How to print all the generated group names in bottom of the report.
Thank you.
If I understand what you intend to do, you have a few options:
add a Cross-tab to the Report-Footer section - this will summarized the report's data without a second trip to the database
add a sub-report to the Report-Footer section - you will have more control of the formatting, but it will require a second trip to the database
create a formula that executes at print time (WhileReadingRecords) to store the group names in an array (note: arrays hold a maximum of 1000 entries), then create a second formula (also print time), that joins the array, adding it to the Report-Footer section.

Export to Excel - detail in one row - subreport in a cell

I'm using JasperReports for a generating report in Excel format.
My report has one detail line. This line includes a subreport (database relation 1:N).
The generated Excel file has several rows for every line from master report (Detail band) - one row for each subreport's line.
I need one row in Excel file for each report's line (row in Detail band), also each subreport in a cell not in a new line.
How I can do it?
My template: