I have a report which is composed of several subreports. I need to render some of the reports as landscape and others as portrait. SSRS 2005 doesnt appear to support this behavior. Does anyone know if it is possible to get this behavior without having to hand roll a "report packager"?
To be clear, the client wants to print one report which is composed of several subreports. Some of the subreports are landscape and some are portrait. The main report appears to override the page orientation of the subreports.
You'll be constrained by the page settings on the main report.
The best bet is to create a report packager as you mentioned. I've used the library iTextSharp to do this on a project once. It didn't take much work to get it to work and it functioned marvelously.
Related
I'm having an issue where a certain rectangle isn't showing the data. However, it's throwing an exception so everything else works within the report. Initially, I thought there was a SQL error where some queries were broken but I managed to fix those. However, now it seems to be on the report builder side because it's working perfectly fine in SQL. This is my first time using Report Builder to fix issues. I've checked to see if the rectangle or any of the fields are hidden and none of them are. Maybe it's because the [ITEM_DESCRIPTION] doesn't have allow height to increase or decrease? Is there some certain go to places I should look? Any help would be much appreciated!
Thanks
SQL Server 2016, SSRS: I have an expandable group that works correctly in Report Builder or Visual Studio SSDT, but does not display when run on the server.
My charter was to create a report that didn't rely on pop-ups or new windows to display detail data. I've managed to embed that detail data below each order. A single dataset feeds the entire report. The user views a list of orders and can click an expand control on a given order to see the detail.
There are three groups in the report: District, Date and Order. Each group is expandable. At the bottom most 'Order" level several rows are displayed, including three that have tablixes embedded in them.
Problem: The order number and expand control [+] work fine in development but are not visible when running on the server.
This image shows the report in Development mode in VS 2017. Note the sections starting with 'Order Type' and 'Low Flow Test are Tablixes, each with a single header and a single row of data:
This second image shows the report in preview mode in VS 2017. It's displaying correctly with a single order expanded:
This third image shows the same report running on the server. Note the 'OrderNum' group cannot be expanded - the Order number field isn't even visible:
Both Visual Studio and Report Builder render this report as desired. When running in a browser this fails on IE, Chrome and Edge.
Either this is a bug or there's something I don't know about how this all works.
I had this issue and got it resolved. It was because of the over-flow: hidden that was put on these tablix headers. Under alignment my vertical alignment was set to 'bottom'. After setting it to 'Default' it was fixed. I guess having alignment as bottom made the browser think it was over-flow text.
I have an SSRS report which drills through to sub reports via actions. The report functions correctly in the VS environment, and correct once deployed to the server and viewed through a browser.
The report however is also viewed inside our in-house app via a Microsoft.Reporting.WinForms.ReportViewer - and while it renders on screen correctly, clicking the element that would normally take me to a sub-report no longer functions.
I have had a look around and there seemed to be an issue around VS2010 SP1 where this stopped working, however I'm currently stuck with VS2008. This seems to be the majority of results I'm getting.
Anyone have any ideas?
Many thanks.
OK have found issue.
The text box in question had three place holders. A reference No, A date and an age. I wanted to trigger the sub report if someone clicked on the reference no. While this worked fine in VS and IE, it failed to work in the Microsoft Report Viewer control.
I have now set the action against the containing text box, rather than against a single placeholder/expression within that box. While this has solved the immediate issue that I have, it would not work if you wanted multiple actions from different placeholders in a single text box.
But for now, I'm all good, and all solved.
Is there a reason / fix for this weird designer issue (at least, I think it's related to the designer), whereby the controls on the form do not appear as they do in the design window when I debug the application..!
Please see the following two screenshots to demonstrate the problem (note: I have blacked out some of the content of the form, this is not the problem):
Picture 1: Showing how the form appears in the designer view
Picture 2: Showing how the form appears in debug mode
You can clearly see that some of the buttons have moved position on the form.
Note: At first glance, this may appear like a duplicate of: Windows Forms Designer destroys form layout. However, I have not installed any additional tools or components. This is simply a standard "vanilla" build of Visual Studio 2012 on Windows 7 32-bit.
I've also come across this question: UI Controls Overlapping & Fonts Issue in Windows Forms Application. However, I am not using "large fonts", nor am I using any non-standard fonts on my controls (all label and button text is left as default). Still, I can see how this would affect the control positions and will do some more checks in this area.
There's nothing happening within the form's Load method.
I'm also using TFS 2012.
What could be causing this? Is there anything I can do to fix it?
EDIT: I've removed the font property for each label and button control, allowing the system to set the default value. Still no change. Interestingly, if I open the form in design mode, then save it, then close it, then open it again, the buttons have moved... If I do this a few times, the buttons migrate until they're off the form.
OK, I've found the answer, after a bit more fiddling. It seems to be related to the Anchor property on the controls. I made a bunch of changes, testing between each change to see if there was any difference. When I selected all the controls and set the Anchor property to Top, Left, this solved the issue.
I hope this helps someone else at some point!
My report is doing this:
This only happens when I export the report to PDF. HTML view looks just fine...
I am not sure where to even start. The first 3 pages are perfect. It is just page 4 that gets messed up.
Any guesses of where I should look to fix this are welcome.
I've seen this same thing in SSRS 2008 and it was extremely frustrating; it was definitely a weird bug of some kind and not just a page-overlap kind of thing (I turned on borders, and made sure none of the cells weren't meant to expand).
From memory, recreating the tablix from scratch made it go away. Although, around the same time I was updating to 2008 SP2 so you might want to check what revision of service pack you're on, too.