Solved

Open report using VBA in normal view without printing?

Posted on 2011-02-18
5
777 Views
Last Modified: 2012-08-14
I am new to using reports in Access and I am trying to open the report using VBA without printing.

From searching the web the only way I can find to do this is by using:  docmd.OpenReport "Name", 'acViewPreview'. I don't want to display the report in print preview mode, just the standard report view as if I had clicked on the object manually.
0
Comment
Question by:wipnav
[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
  • 2
  • 2
5 Comments
 
LVL 75
ID: 34928104
These are your options ... see image

mx
Capture1.gif
0
 
LVL 75
ID: 34928121
"as if I had clicked on the object manually."
That is the same a Print Preview.

Normal ... will directly print the report to printer ...

mx
0
 
LVL 1

Author Comment

by:wipnav
ID: 34928136
I'm on 2007 and when I double click the report object it opens in a full screen and my ribbon does not change to print/preview mode.

Print preview mode splits the report into multiple pages if the column widths are too great.
0
 
LVL 77

Accepted Solution

by:
peter57r earned 500 total points
ID: 34928151
Use acViewReport instead of acViewPreview
0
 
LVL 1

Author Closing Comment

by:wipnav
ID: 34928207
Thank you. I didn't see that option at the bottom of the list =P
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
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…

688 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