How to avoid spaces between the data rows in report - jasper-reports

I am using Jaspersoft Studio (JasperReports designer based on Eclipse) and I have defined four text fields representing four columns in a database table. But when I preview the report I have noted that each record will be displayed on a separate row (there will be a space between each row) which will look weird.
So how iIcan remove the spaces between the rows so that the table layout will be displayed normally?

Seems that i should re-size the margin so that no empty space should be under the fields..

Related

ActiveReports cells breaking over two lines

I am using ActiveReports 7 and exporting to XLS with a very large amount of rows and columns. The report "randomly" splits large cells over two rows. I say randomly, if i run the same report multiple times it will always break on the same row but there's nothing special on the row.
We are using
exporter.UseCellMerging = True
exporter.AutoRowHeight = True
exporter.RemoveVerticalSpace = True
Are there any other properties I need to include in order to prevent this from happening?
Large cells will split over two rows when the TextBox is splitting in the rendered view of the report as well. This is the design behavior. The textBoxes(or other controls in ActiveReports) split over pages when their is no space on the current page to display the full control. If you don't want these textBoxes to split over pages, please set the KeepTogether property of the Section in which the respective textBox is situated in, to True.
Moreover, ActiveReports 7 is a legacy product. We suggest you to try with the latest version i.e. ActiveReports 16 (https://www.grapecity.com/activereportsnet/download).
You can also post your query on our forums - https://www.grapecity.com/forums/ar-dev
or create a ticket through our support system - https://www.grapecity.com/my-account/my-support

Formatting Excel Output of Crystal Reports with Multiple Subqueries

I've put together a summary report in Crystal Reports 2013 that has about 10-12 subreports. Each subreport is a fairly basic query that produces one or several lines rows and columns of data. I'm using SAP's Central Management Console to produce the reports, with the output an Excel output.
My problem is that my excel output is coming out unstandardized i.e. random extra empty rows and columns, data and header mismatches, different widths of rows and columns, etc.
I've been messing around with the formatting setting w/in Crystal Reports (standardizing size and shape of subqueries on the preview screen, supressing empty areas, etc.) but can't come close to getting the Excel output to look the way I want.
Is there a specific export formatting function/area within Crystal Reports that will allow me to design the export in the way I'd like? And if not, are there any ways to format multiple subqueries w/in Crystal Reports so their format in an Excel export is uniform?
If i really understood your issue, you have troubles with the alignment of data, cells and stuff like that in the spreadsheet, is it correct?
If so, the solution is to review the align of your fields in the report. It is very boring. You can use some functionalitis like:
right click a field and use "align to grid"
select two fields, right click and use "left align" and "top align"
change the property "gridsize" of the "report" to a higher value and use the keyboard to position the fields.
Avoid empty spaces between field at most.
Keep your eyes on the rulers.
Furthermore, check the version of Crystal Reports you are using. There is a good improvement about it from version 11 to 13.
Exporting to Excel seems a bit qwerky because the same steps do not necessarily work for all reports (my experience at least). Keep this in mind when reading the following steps. Perform the following steps on both the detail(footer if using grouping) and header rows where applicable:
Choose driver “Microsoft Excel(97-2003)”
Make sure the header and detail sections have no spaces in between the columns
Make sure the header and detail column boxes align perfectly (should see red crosses when alignment is correct).
Select all fields on the row, right-click, align to top (if this does try aligning to grid)
Right-click to the left of the detail columns and “Select All Section Objects”
Right-click in the same location and choose “Arrange Lines” then “Fit Section”
Perform steps 4 & 5 on the header columns as well
Open Section Expert, select “Suppress Blank Section” for all unused sections
If none of the above work, use driver “Microsoft Excel (97-2003) (Data Only) “
Headers will still appear in the report but will not be in bold

RDLC, too large table is cut but displayed at the same side without line break

I encounter a problem creating my RDLC file.
I fill a table using a dataset and my report is in landscape view.
When I export to word format, I want the table to be cut and the other parts of the table displayed below the first part. Unfortunately for the moment, my table is cut but the other parts of the table are displayed on the side of the first part:
So even if I defined a fix size (Letter size) for my report, when I try to print the word export, the size changes due to table size.
Have you ever encountered the same problem?
'Split the table and put the split part below the original part' i.e 'wrapping' tables. is not a standard behaviour.
I think you'll have to do that manually, i.e. put two tables in the report, with the same dataset, one below the other.

Overlapping Text in Crystal Report

I am working with SAP Crystal Report 2012. I am suppose to create a Crystal Report which may be exported to PDF. It has certain fields with "Can Grow" property. As a result of all this I am facing overlapping text issues due increase in the text length, I do not want to limit the length of text fields.
I have already tried keeping fields in the different sections. It did removed overlapping but it duplicated the fields as there is a grouping applied in these fields and thus hampered the whole format.
Here is the image of the required format with overlapping text:
Here is the result of applying sectioning on the report as I said it did removed sectioning but duplicated the fields:
just keep your original layout and do this. Put you pointer over the margin and drag it to the left to create a section under your growing field. In that way the field can grow pushing down the section below. See below picture.

Excel sheet exported from ssrs. Pivot table and sorting functionality not working in sheet

msoffice2007. when report is exported from ssrs to excel sheet. the functions PIVOT Table and SORTING are not working, it is showing some error like:
""The PovitTable field name is not valid. To create a PovitTable report, you musr use data that is organized with labeled columns. If you are chanfing the name of a pivot table field you must type a new name for the field."" for PIVOT Table.
and ""The operation requires the merged cells to be identically sized."" for sorting
This is because your report isn't perfectly aligned and it cause different cells in the table to get merged, what you should do is to look for the cells whom didn't got merged (in the excel sheet) , check their size in the report builder and change the other cells to that size.
additional tip, make sure that your data (table in this case) is aligned to the top left of the screen.