Solved

Access Runtime pdf report problem

Posted on 2013-02-05
6
647 Views
Last Modified: 2013-02-11
I have an Access report which runs fine on Access runtime 2007 but has an extra blank page on Access 2010.
Can anyone help?
0
Comment
Question by:HKFuey
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 77

Expert Comment

by:peter57r
ID: 38854193
Is this happening on the same computer?

Is the extra page at the end?  
Is it completely blank or does it have page header and footer?

All reports or just one report?
0
 

Author Comment

by:HKFuey
ID: 38854365
OK, 3 PC's run the report fine, 2 have Access 2007 runtime, 1 has Access 2010 runtime.

2 PC's have is a completely blank page at the start of the report, this page is crucial as these documents get passed to a pdf file processor, if the page is blank it does not work.

I want page numbers to start on page 2 so I some code to do this: -

Private Sub PageFooterSection_Format(Cancel As Integer, FormatCount As Integer)

    If Me.Page = 1 Then PageFooterSection.Visible = False
   
End Sub

Could the code be causing this?
0
 
LVL 77

Accepted Solution

by:
peter57r earned 500 total points
ID: 38854479
"this page is crucial as these documents get passed to a pdf file processor,"

So you are not using Access's pdf writer?

In that case what printer are you using to preview/print the reports- are you using each machine's default printer - are they all the same - or have you set the reports to use a specific printer - is that printer installed on all machines (I suppose it's the A2010 machine we are really interested in)

I can't think of any reason why the code you posted should be a factor here, but obviously you can test it  to see.
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 77

Expert Comment

by:peter57r
ID: 38854496
Just one further thought - do you have any  Force New Page settings  set to  'Before Section'?
0
 

Assisted Solution

by:HKFuey
HKFuey earned 0 total points
ID: 38854504
Well...

I installed SaveAsPDFandXPS.exe (Access pdf add in)

And Win2PDF (PDF printer)

It now works fine (not sure which of the above did it!)
0
 

Author Closing Comment

by:HKFuey
ID: 38875447
SaveAsPDFandXPS.exe was the answer, you led me to this, thanks

Andy
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

733 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