Reports :: Union Query - One Page Report Copied 3k Times
Sep 16, 2013
So i have a union query pulling together about 3,000 records from other queries.
I arranged all the counts and data I need to fit onto one page, but the report is copying that page (minus the header) for each record in the union query. I'd much prefer a one page report rather than a 3,000 page report.
Why does it do that? All I want is a one page report, how can I make that happen?
I need to print data on a pre-printed letter-sized piece of paper that will be cut horizontally into three identical 8.5" x 3.667" forms.
For the life of me, I cannot figure out how to format a report to get the data in the right spots. I've tried messing with the margins, height of the detail area, columns...everything I can think of. It seems I can get the data to print in the right spot on the top form but neither of the other forms and/or on the top two but not on the bottom at all.
I need to create a census report from the employees we serve and their dependents, by company. I have a union query of the Employees table and Dependents table to put them all on one list, then a form where you can type the name of the company you need, with a button that opens the report. This works great, except for the fact that sometimes we don't need the dependents; if a company has over 100 Full-Time employees, we only need the employees. I've added a check box ([IncDep]) on the form, asking the user if they want to include the dependents, but I don't know how to get this to filter the report. I have a Relationship field on the tables that specifies an employee as a "Subscriber", so I'd like to filter the report where [Relationship] = "Subscriber" but I don't know how to do this. The union query specifies both Employees.Relationship and Dependents.Relationship to the text box [Relationship], but when I do something like
Dim stDocName As String If Me!IncDep.Value = False Then stDocName = "Census" DoCmd.OpenReport stDocName, acViewReport, , "[Relationship]='" & "Subscriber" & "'" Else stDocName = "Census" DoCmd.OpenReport stDocName, acViewReport End If
So I have this killer report that took me hours to set up. I run it daily and it is great.
I now need to filter it slightly for 1 specific user. So what I did was I copied the query and renamed it. I added the filter I needed. But I don't want to have to re-create the report. Even though I know what I need it will take quite a bit of time to recreate it.
Is there a better way? Can I copy the report (using the same query) but add the filter on the report side?
Before anybody says anything about it, no, my MS Access is not corrupt, and I don't need to reinstall, or update or anything like that.
Now, to the problem...... I have a union query that in essence ties 4 tables together. The query works great! Here's the issue...... When I try to create a data access page using the wizard, I get an error msg saying wizard was unable to create data access page. If I try to create in design view, I cannot view the fields of my union query to add to the data page.
I am including 2 databases..... the first one, called "union" contains the union query that will not work to create a data access page..... the second one, which is very similiar on the union query, just not as detailed does work. It is called "joined"
The only difference in these two union queries, is that I tried to include times for db"union", whereas for db"joined", I only calculated hours. I can make a data access page using the union query in db"joined", but not the union query in db"union"
Here is my delima, I have a report that I am able to type in a keyword and it will pull up that report exactly as I type the keyword, however, let's say that I want to pull up someone else's report I cannot. I have to exit out of my report and then go back into it and resubmit the new search.
I have a question related with a report i`m using to print labels. I am not familiar with Access and this is quite a challenge to do it alone.
In the attached file there is a report called "MICRA", when started it asks that you want to select (default is 1 and special select in this case is 11) and next it asks "SPS", the value entered there is printed in the bottom right corner of the report.
My question is is it possible if in the SPS field is entered a special value (for example "MASS") to print 30 labels of each selected label with text in this fiels = "val.1"; 15 with text in the field = "val.2"; 10 with "val.3" and 10 with "val.4" and after that to print next label with same rules...
And if not entered "MASS" to print just 4 copies of every label.
I'm using Access 2010.My reports are all crowding the left margin, with the reports printed in Landscape being the worst.My Page Setup shows Top and Bottom margins are 0.2 inches, Left is 0.35 and Right is 0.213.
Paper size is 8.5 x 11, in Landscape Mode.
1 column.
Column is 10.4"
I'm getting that error that says that the report is wider than the paper so I may get blank pages, but I don't. It just prints the 6 pages of the report.The Report Property Sheet says the report is 10.5104" and I cannot for the life of me get that to change.
When it prints, there is absolutely no margin on the left side (in landscape mode). When the report renders on the screen, it appears to be perfectly aligned.Reports printed in Portrait mode have extra white space at the top, with the footer being printed right along the bottom edge of the paper.
I have a report that is generating a few pages, but I am only interested in the first page only. I have tried adding in code to cancel everything after the first page, but this just gives me a blank second page:
Code:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) Cancel = Me.Page > 1 End Sub Private Sub PageFooterSection_Format(Cancel As Integer, FormatCount As Integer) Cancel = Me.Page > 1 End Sub Private Sub PageHeaderSection_Format(Cancel As Integer, FormatCount As Integer) Cancel = Me.Page > 1 End Sub
I am outputting this report to PDF, and it is very annoying to have a blank page.
Is there a way to force the report to only be one page in length.
We recently converted to Access 2010 after using 2000. This problem has suddenly appeared. It doesn't happen on every report but there is one in particular right now and I can't figure it out.The first page of the report is complete but it prints a second page containing only the page header and footer, the rest blank. There are only 2 detail records on the first page and plenty of blank space.
It's not the issue of the page overflowing onto extra pages because the page size bleeds beyond the margins. Everything is safely inside the set margins, and in fact as a test I brought the page width down to 4 inches with .5" margins and it still prints a second page.
I am having a DB and a report is there from query now what i want is ;
if query fields are apple, bat, cat, dog, elephant and I want in report the first three fields like apple, bat, cat to be displayed at first page then remaining on next and so on. Whereas I have a proper report header and footer which I do not want to change for any page means will remain same for all pages..
I have a 14 page report in which I want the footer to appear only on the first page. I accomplish this with some code in the OnFormat event of the page footer:
If Page > 1 Then Me.PageFooter2.Visible = False Else Me.PageFooter2.Visible = True End If
The first page has the footer (great).
The 3rd thru the 14th page does not (great).
The 2nd page also doesn't have the footer - but - it only shows a half page of data! The data continues where it left off on the third page!
So, to sum up:
1st Page: Footer with detail section containing 16 rows of data.
3rd thru 14th Page: No footer section with 28 rows of data.
I have a complicated report in which there is a main report which contains other reports within it. One of these reports (call it "Number Six") within the main report has several subreports. Within this report, I can successfully cancel the subreports so that they do not print if the data does not match the right criteria. I use VBA code to cancel the Number Six report if none of the subreports will be printing. Nothing then appears on this individual report. All I get is a blank page which makes sense since I've shrunk all of the subreports.
When the main report prints, the Number Five report prints, there is a blank page for the Number Six report and then the Number Seven report prints. How do I get the main report to not print that blank page for the Number Six report? When the Number Six report will result in a blank page, I want the Number Five report to print followed by the Number Seven report. I've tried using "No" in the main report for the Enabled option for Number Six but the blank page still shows up. I am not forcing any page breaks either.
I have report &/or form which lists booking availability, basically a list dates & number of spaces. I would like to publish it to my wordpress website somehow, preferably quick & easy, not too much export import etc.
Access 2007.
I know I can export to html just note sure if this is the best way & how I then publish it to my wordpress site or upload via ftp hopefully from within Access.
Thought about google spreadsheet, this can be very easily integrated into Wordpress, html code provided.
How to get data to google? Just not sure how it could all fit together or even possible.
Also this export to html does not format very nicely, just black text so far, my report has colours & background colours (mostly from conditonal formatting)
There are a few wordpress plugins that have calendar availability apps but assume the data in web based (database) and no way to get at this.
I have a report that needs to show about 20 different fields from 24 records. I have it set up in landscape view, with one record per line (running horizontally). It allows me to show about 15 of the fields, spanning two pages (wide). I don't know how to add a third page to show the remaining fields.There are no Groupings.
Also, is there a way to "wrap" text in the column header?
I have a report that's oriented landscape. I have scaled and placed everything to fit on a 11" x 8.5" page (the current dimensions of the report are 10.375" x 7.75"). The Layout view shows that everything fits within the borders.
Despite all of this, Print view insists on including a second, blank page. And since the general user will initially be viewing it in Report view (which doesn't indicate 2 pages), then printing if they so desire, they won't know there's a blank page.If not, I'll just tell people to make sure to only print page 1 in the printer dialog box.
I have an access report that consists of numerous other subreports. My issue is that one last blank page prints at the very end of the report. All margins are sized correctly and have set the 'Force New Page' setting to 'None' for all Group Headings (I should mention that I have each subreport within it's own group heading...so a total of 8 subreports in 8 group headings). The odd thing is that I have the page #'s printing in the page footer and on the last page it's printing page + 1 of x pages (e.g. page 129 of 128). I have removed the report header and footer, but have the same result. None of the other subreports produce an extra page when run separately.
I have a 2 page paper form/report (however you want to categorize it) that I manually have to fill out and submit every month. I am trying to digitize this process using Access but am having difficulties. This paper form is actually pretty simple. The top third of both pages contain just static information like company name, address, phone and etc. The "detail" section of page 2 is basically laid out like a crosstab query. The only data involved in page 1 is grand totals from the crosstab query on page 2, plus an additional calculation.
How to create an Access report in this specific format. I was thinking along the lines of scanning these pages and attaching them as an image in the report and just overlay the data on top of in in the appropriate locations. But this is proving to be difficult as I am getting a whole new page with each new record of data, yet alone was able to figure how to get a different "format" of data on the second page.
Completely recreating the paper form as an Access report is not "impossible" but would prove to be difficult with the limited formatting capabilities of Access reports.
How I could create a report like this that can be printed with 2 different pages. As stated, page 1 is just a total of the data in page 2 so the actual order of the pages laid out on screen or printed is not a big deal.
I have small database in ms access which i am using for invoice creation. When invoice is created i save it as PDF. I would like merge another single Page PDF along with the report as 2nd page so end report is 2 page PDF.
Second how can i get 1 PDF from 2 ms access reports.
Any way to repeat the Report Header on every page?
I had my header in the Page Header so that it would repeat on every page, but it did not have the CanShrink option so I put it in the Report Header so it shrinks when I want it to, but now it doesn't repeat. I was hoping there was some kind of code I could implement that would let me repeat the Report Header on every page.
Or is there a way that I could get the CanShrink property in the Page Header?