Dynamic rows in Crystal report letter template - crystal-reports

I got a requirement like, in the text object letter template there is a table, and if no values rows should disappear, and below text needs to come upwards accordingly.
Is it possible?
[enter image description here][1]

If you feed the table rows from data records (detail section) or Group data (e.g. Group footer), that would happen automatically. No data = no section.
If you feed the table rows from some other logic, you can place each table row in a different section (e.g. GF1a, GF1b, ...) and use a suppress expression in the section property to dynamically suppress based on your logic.
Alternatively, there's at least one 3rd-party tool (see list here) that can feed data from a Crystal report into MS Word template document. That tool can indeed expand/remove table rows based on data in the report. The document can then be printed or saved as dynamically named Word or PDF files.

Related

How to generate a page in report for each data row using SSRS

I am working on developing an SSRS report.I have a table in which student name and 6 subjects marks is stored in each row. My problem statement goes like this ---> lets say if 10 rows of data is present in table then I want to create report card/ marksheet for each student in new page but inside a same report. (I.e. 10 pages in one report). Then convert the report containing 10 pages to PDF format and save it in some folder.
Can anyone show some possibilities to achieve my problem statement.
Thanks in advance....
Usually you'll want to use a List object to separate your report by student. You would group the list by student in your report. Then set a Page Break in the List with the location to Between each group so that it separates each student into a separate page.
Then you can put charts, tables and other object inside the list and it will repeat with the list group (in your case, each student).
MSDN: Lists
In this report I made below, the List is highlighted in Red and groups by each site. It just has a table inside. When it's run each site gets it's own page with a list of their people.
Keep in mind that a List is actually just a Tablix with only one data cell - with the column and row headers removed.

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.

Issue with repeating static text in Detail band

I am using iReport to make a jrxml file. When I create a file and click on "Launch report wizard" it load some sql query from my database, configured with iReport.
I write some static data and also use some image to make a sample pdf file. I write some string in title field and also in column and detail1. Title section show once but value of column header and detail1 repeat many times. My repeated data is equals to the number of data in my table which I load at creation time. How can I stop to repeat my data?
whatever you write in your detail1 it will repeated until your query ends

Adding new column in table Crystal Report subreport

I generated subreport with wizard. How can I insert new column into the table?
Assuming you're looking to insert a column between the two existing columns (and have your report continue to look nice), it's not trivial in the version of Crystal Reports you're using (based on your screenshot).
You'll have to resize/move your existing fields and field headings to make space (click on them to show resize handles), then drag the new field from the Field Explorer to the details section in the space created.
A newer version of Crystal Reports has added a "Smart Formatting" feature to make column insertion (and related tasks) easier - this article contains a summary of the feature.

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.