I have disappearing lines from my SSRS report - ssrs-2008

I have an SSRS report, the layout based on an Excel spreadsheet. Therefore, I have a lot of drawn lines and rectangles to mimic what Excel would print. I also have two images that are loaded from fields in the database, if they exist for the record. If the images are displayed, I have several lines missing from the report. If the database returns more than one page worth of data, the first page of the report will have all lines, but the rest will be missing those same 5 lines.
Has anyone run into a situation where drawing elements would simply disappear from a SSRS/RDL report?

We simply removed all the text boxes and re-drew them. Still don't know why we had the problem in the first place.

Related

How to create page break between elements inside list entry?

My Jasper Report has Detail element that holds List element. Every list entry of which contains number of tables.
I need to add page break between those tables.
The problem is that it is not possible to add line break. I am able to drag it between tables but the report stops working after adding it. It turns out that break is not supported in such places.
Is there a way to workaround this? Currently I'm thinking of adding some fake element that would consume some space but will be invisible, however it is not as simple.
I know it could be achieved by introducing sub-reports, but this requires complete redesign of my report so it is not an option for me.

Display multiple columns in a group header with charts

I want charts generated for each group to appear in a multi-column format in one group header. I could do it with subreports, but I'm looking for a solution that doesn't require me to load the data set multiple times. How can I achieve this?
Long story short, Crystal isn't a good fit for this.
Even if the number of groups wasn't variable, Crystal reports is fixated on delivering and iterating your records from top to bottom. It's not impossible to structure that, but it would be way more work than it's worth. Plus you'd waste too much time handling the variable number of charts and ensuring unused ones were suppressed. And even then, you'd probably need to use subreports.
You'd have better luck using something other than Crystal for generating this behavior. Even if it meant creating a subreport for the chart and writing a VS program that displayed that report multiple times for each "Group".

Dynamically removing table from rdlc report

I'm creating an SSRS report in VS2012.
Under Tablix Properties I can show or hide a table using an expression which uses a boolean parameter; but this leaves a gap in the report.
Is there a way I can just remove the table?
You could call a subreport and determine different subreports based on a variable. You cannot remove space with SSRS to my knowledge of it, it is not designed to remove space, just perform different actions on objects that take up space. I don't even think you can resize the objects dynamically unfortunately. You can cheat though and make two subreports, one with the supposed table and one without. Then when your variable gets hit it calls one and not the other. Since a subreport can change sizes that is a way to thus trick the system's language limitations. It may not fit your needs but it is a thought that could in theory solve this problem.
I think it depends on the report layout and all sorts. I created the simplest case:
From Designer mode you can see it's just three tables in the report, nothing else. The middle table's visibilty is parameter based. In this case, SSRS does make an effort to shift the last table depending on whether the middle is visible:
In this case you still have maybe too much whitespace showing. There are various ways around this. One example is embedding the middle table in a Rectangle that extends to top of the last table, then moving the visibility expression from the table to the Rectangle. In Designer:
End result, looks better:
I guess all I'm trying to show is that SSRS does sometimes move things around based on visibility, but you can also apply extra control using tools like Rectangles to control visibility and layout.

Crystal Reports - Remove Excess Records

Good day everyone. I would like to ask for help regarding printing records using Crystal Reports.
My aim is to print all the records in the report. The problem is that when I have only two or three records, the form will still print a space to forcibly expand it into a one whole page.
What I have did is to manually place all the parameters in the form, and add a record number parameter built in the Crystal Reports Designer. I loaded a dummy record with nothing in it. Now when I run a report wherein I have only two to three records, I have this output.
How will I work out this problem? I can only find in the Internet about shrinking, but not expanding.
In the Section Expert, check 'Suppress Blank Section'. Hope that helps

Crytal Reports - Subreport

I have a main report and a group subreport the is driven off of a value in the mainreport. What I want to do is have the subreport printon a new page without the Headers showing from the main report. Is this possible?
Thanks.
There are several ways to do this, depending on how your report is structured and how it's being viewed (in it's native .rpt format, exported to PDF, etc.).
If you're looking for a "Do not print page header/footers if there is a subreport on this page" function, I've never seen one. Sure would be convenient though if it did exist. However, the InRepeatedGroupHeader boolean might help you in conditionally suppressing the header/footer sections. This will take a lot of trial & error, however.
If the subreports are that different from the main report, don't try to combine them. Keep these "subreports" in a completely separate file.
Are the page numbers of the subreports locked down? i.e. If you know for certain that these subreports are only 1 page long and appear only on even-numbered pages? In this case, you can 'suppress' page headers and footers only on even-numbered pages.