problems printing a tabbed report in Access 2010 - ms-access

I'm hoping this isn't a bug in Access but my research so far shows me that tabbed forms and reports are somewhat troublesome --
I've got a big report to print with more than 500 lines, 6 text boxes on each line; since Access reports are limited to 22" length (2 8.5 X 11 pages), I figured tabbed is the way to go.
Because there are, all told, 56 text boxes to go on each tab, I first created the model for my report as a regular (not tabbed) report. Once I had it all working correctly (and printing correctly), I copied it in its entire into a 5-tab report.
As I said, it prints just fine in the simple report BUT:
Print Preview on the tabbed report puts a blank page or a page with a single vertical line on the left margin (it actually looks like it might be part of the frame of the tabbed page) or a page with a single 1/2" horizontal line at the left end of the top margin (which looks like it might be the page break but it's still there after I delete all page breaks) between every page. So that in print preview my 10 pages wind up as 20 pages, 10 of the blankish.
It's worse when I try to actually print as I get only 6 pages, 5 of them blank.
Am I doing something wrong or do tabbed reports simply not print in Access? Or at least in Access 2010?
Thanks in advance.

Related

SSRS Report not correctly suppressing white space

I have seen some mind-binding situations with SSRS reports in my few years of using it, and I've been able to design around most issues and get it to do everything I've been asked to do.
But apparently, not something extremely simple!
I'm using Visual Studio 2019 version 16.7.2 with the Microsoft SQL Server Reporting Services Designers
version 15.0.19124.0 installed. There's no data bound to the report, this is just a simple design concept.
I have a report that has a static custom page size (in centimetres), interactive size and no margins (12.8 x 17.8cm).
The body size is deliberately set to make it a two page report (2 x the page height).
'ConsumeContainerWhiteSpace' on the report properties is set to true.
Page 1 has an image, consuming the entire space of Page 1 (size of 12.8 x 17.8), with a Text box placed near the bottom right of the image (overlaying it, but not exceeding the width or height of the page, and is set to not grow).
Page 2 is exactly the same, with the content starting where Page 2 would and should start (0, 17.8). However, the Page 2 content is set to hidden (hidden = true, on both the image and the textbox).
When previewed, the report renders two pages, one of which is blank.
If I take the Page 2 content textbox off, and preview it, the report renders as one page (as I need it to).
The same issue occurs if I replace the textbox with a Rectangle or Tablix (the two objects I really need to use in this report as well as the textbox located where it is) and set them to hidden.
Moving any of these objects to the top of Page 2, still results in the same behaviour.
It seems that certain objects, despite being hidden, have space allocated that can't be 'rolled up / truncated / shrunk'. Is this 'by design behaviour'?
Is there some form of magic-witch-craftery I'm missing here to get this to work, or simply something I'm not understanding... ?
Thanks for reading!
Note: So far I have tried the 'Switch to inches, then back to centimeters' solution mentioned in other posts along these lines, have varied 'Keep together' properties, checked 'CanGrow' and 'CanShrink' property changes - all of which have not helped find a solution.
The report body should be set at most wide enough to fit on your output page and long enough to hold all your report items. When you want different items to appear on a new page, put them in a container with a page break set either before or after (whichever is most appropriate). This can also be handled in a data driven manner using page breaks on table groups.
There is no requirement to have white space within your report design to 'fill up' the rest of the page on the rendered report.
If you want anything to appear at the bottom of the report, simply put it in the footer section. If you want specific things to appear at the bottom of the page of different heights on different pages, that is more of a challenge and will usually require some clever data driven spacers within the report body.

SSRS 2012 Report Page Breaks

Wondering if someone can point me in the right direction. I currently have a report with 5 sub sections of data, each surrounded with a Rectangle.
I am wanting each sub section to appear on a new page and then be able to export to Excel and each section to appear on a new Tab.
I set Page Break / Break Location in each Rectangle to "Start" and label the PageName to what I want to call the Tab. When I run the report the 4 subsections show correctly but I am left with a blank page before I get the 5 section, but when I export it to Excel it appears correctly.
What I want is 5 pages in the report for each section and when exporting I want 5 tabs, can someone tell me where I am going wrong with setting the pagebreaks if that is indeed what I am doing incorrectly.
Thanks
As you are successfully exporting to Excel, but not the report viewer, this suggests your report and page sizes are not correctly set up on your 4th subsection.
When you have report elements that are slightly too large for your report page, the parts that 'overhang' will generate a new page of just the part that overhangs. This is often a very small amount of white space, so it looks like the page is completely blank. When you are exporting to formats such as excel, this does not matter so you correctly see the page breaks as new sheets.
To check whether this is the case, add borders and fills of different colours to all your rectangles and then run the report. On your 4th 'blank' page, if you see any colours or borders you will know which rectangle or report element is growing beyond its page.

SSRS not rendering all page breaks in PDF export

I have a report is ssrs, it consist of a main report which has a header containing the page number and 2 sub reports (report page 1 and report page 2) within a tablix. Report page one comes first, then report page 2 displays on the next page after the end of report page 1. The subreports can be anywhere from 1-3 pages. The page numbering is reset between each set of report page 1 and 2 (so if page 1 is 3 pages and page 2 is 2 pages, it goes from page 1-5, then resets). These are called for each record (with grouping) from the main reports' query. The report is around 1000 pages total. It renders perfectly on screen, but when I try to export to PDF, it will sometimes (like 1 time in the 1000 pages) display part of report page 2 on a page (as expected, the page number matches with it), then it will start printing report page 1 of the next group on the same page.
Here is the layout of the main report:
Here is the document outline for better understanding:
And here is the page that is wrong...
This is what it should look like (the last page of sub-report page 2 even has just the total record like the broken one!
I have tried everything I can think of. I have tried (i think) every combination of page breaks on the rectangles and groups, I have tried making a tablix with 2 rows using the same group and again tried every combination of page breaks. I have tried changing the number of records on a page. I have tried changing the consume whitespace option on both sub and main reports. I have tried adding both calculated and random amounts of white space. I have recreated the report from scratch a couple times. I'm sure there's more, but it would be like going through a full feature list of SSRS... Basically, I tried everything I could think of, then everything suggested in the links on the first page of about 10 different google searches. I just have no idea what is going on with this, any help would be greatly appreciated!
Let me know if you need any more info, screenshots, or whatever and I will try to provide. It may be highly "redacted", but I will provide anything I can.
Thanks, Kevin
Try check the setting "Between each instance of a group" in group properties of tablix.
Try checking your XML for empty TablixRows (which will not show up in the Document Outline). I found with my report that empty tablix rows screw up page breaks in subsequent rows / sub reports when exported to PDF. Where possible hide the TablixRows or insert and empty text box.
This appears to be a bug with SSRS when editing the XML by hand. The Visual Studio GUI seems to not let you delete the last element in a row - perhaps this is a work around. An error or schema validation message would have been nice for us hand coders!
Hope this helps.

Crystal report displays page number as 1 of 1+

I am using crystal report 8.5 with VB6. So in some of my reports the page number is displayed as 1 of 1+ when i click on next the page number becomes 2 of 2+ and so on. When i reach last page say 8th page it becomes 8 of 8. I dont know which setting causes this to come like this. I want page number to be displayed properly as 1 of 8 and so on. So please help me on this.
Below is a screenshot of that error
I can't tell you exactly why the Report Viewer does that, but to get rid of this behavior just add from 'Special Fields' in the Field Explorer the field 'Page N of M' anywhere in your report and change its suppress property to true. Adding this field to your report will display the number of all pages in your toolbar correctly.
I only found reason for the error and solution to it.
http://scn.sap.com/message/14609181#14609181
The rpt which does not displays page number properly(i.e displayed 1 of 1+ in viewer) had page number field used in it. But there was no field which triggers total page count. So i was getting 1 of 1+.When i reach last page it gets the page count so when i click previous page it updates page number properly in viewer.
So it can be solved by using TotalPageCount some where in the rpt file so that it updates it at the beginning it self when displaying first page.

Why is my Access report cutting off when printing?

I have an Access report that has a couple subheaders, and when I run the report, I can see all of the data. However, if I go to print it or to export to PDF, it prints only the first and last pages. Interestingly, the page count that we have at the bottom will say pages 1 of 4 and 2 of 4 for those two pages that print/export, but it is clearly missing the data in the middle.
What it looks like is happening is that it prints the first section and all its subheaders, then (still on the first page) it prints as many of the subheaders in the second section as it can fit on the page and then can't fit any more on the page. Then it prints the last page and the data that would appear there.
How can I make sure that all the data that I see in the actual report actually appears in the printed/exported PDF version?
You need to change your view from "Report View" to "Print Preview".
"Report View" is NOT the same as "Print Preview"
Once you're in print preview you have the option of setting page size, margins, etc.