Solved

Access 2010 - Page width error

Posted on 2014-02-12
5
832 Views
Last Modified: 2014-02-18
I am working in Access 2010. I have a daily automated process to run a macro to run a module which generates a PDF file which then gets attached to an email and sent. 10 to 20 reports are sent each morning.

Problem that started recently is on certain reports I get an error that stops the process. The error states,

"The section width is greater than the page width, and there are no items in the additional space, so some pages may be blank. For example, the report width may be wider than the page width." (see attached screenshot)

I have made sure the reports are within the proper page widths. I have also checked the Acrobat plug-in and the margins are set to 0.25. If I run the report manually it generates properly. Additionally, reports that do not get the stop error have blank pages every other sheet.

Any ideas?
0
Comment
Question by:Cole100
  • 3
  • 2
5 Comments
 
LVL 57
ID: 39854127
In report design view, make sure you pull the right hand design edge all the way to the left.

Jim.
0
 

Author Comment

by:Cole100
ID: 39857737
I made this adjustment and it did not make a difference. see attached design view screenshot. Can you see anything I might have missed?
SnipImage.JPG
0
 
LVL 57

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 125 total points
ID: 39858728
Your too tight on the width.   Your right on 8".   You need to reduce the width of the report.

Page size - margins = maximum report width.

As far as viewing on the screen vs printing, make sure your using print preview, not Report view.   Report view does not give you the same thing as print preview or printing to the printer.

Jim.
0
 

Author Comment

by:Cole100
ID: 39868389
It is very strange because the print preview will display it correctly but when exported into a PDF it will give the blank pages.

I have been running some of these reports for years with it always exporting correctly so I assumed it couldn't be a margin problem.

I went through and adjusted all my page widths to 7.8" or so rather than 8.0" and that seems to have fixed the issue.
0
 
LVL 57
ID: 39868560
Glad to hear your set.

Jim.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

It took me quite some time to sort out all the different properties of combo and list boxes available from Visual Basic at run-time. Not that the documentation is lacking: the help pages are quite thorough and well written. The problem was rather wh…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now