ActiveReports cells breaking over two lines - activereports

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

Related

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

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.

SSRS - Display a tablix across a single page

I am using Report Builder 3 to create a simple report. My report is formatted to be printed in Landscape mode on letter sized paper.
I have a single 3 column tablix, that returns about 100 results from a dataset. Instead of breaking to a new page, I want the data to continue displaying in a new set of columns across the page, so that it all fits on a single page. I'm not sure how to accomplish this.
add three tablix on the one page then divided the data on it..

Hide space between elements of a report

I have one report with various subreports. These subreports are within a table cell. When the subreport doesn't have any data available, I hide the components (tables, textbox, charts) in that subreport. However, this creates some blank space and I need to eliminate this space.
I already used the properties ConsumeContainerWhiteSpace and KeepTogether, but the blank space is still there.
Any suggestions to remove the blank space?
To hide or show an entire row based on another reports results will be difficult, if not impossible. You will need to get this data in your parent report somehow.
I would create a cut down version of your subreport's query that returns row count for every subreport, but within the parent report. Might look like this:
UserID RecordCount
Abby 3
Bob 0
Carl 1
If you are using SSRS 2008r2 you can then use a lookup function to set row visibility. For example the row visibility expression might be
=IIF(Lookup(Fields!UserID.Value,
Fields!UserID.Value,
Fields!RecordCount.Value,
"LookupDatasetName") > 0,
false,
true)
If an earlier version of SSRS, then join that dataset into the dataset for your table.

Microsoft Word 2012 Content Controls: Group on multiple table rows

I was trying to add a Rich Text Content Control or a Group around multiple lines of a Word table in order to achieve a master-detail view where I can have multiple master rows and show details in sub rows.
Is there any way to put such content controls around multiple rows with MS Word or should I use nested tables(at least try to).
At this stage adding them by code is not an option.
Thanks
EDIT: Apparently you can only use a single row or the entire table, even if clearly the header row shouldn't be repeated!
In Microsoft Word 2013 a new type of control has been added i.e. Repeating Section Content Control.
It exactly meets your requirements. You can read more about it # http://msdn.microsoft.com/en-us/library/office/ff838936(v=office.15) under Enhancement to content controls section.