?
Solved

Open report using VBA in normal view without printing?

Posted on 2011-02-18
5
Medium Priority
?
813 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 2000 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

How Blockchain Is Impacting Every Industry

Blockchain expert Alex Tapscott talks to Acronis VP Frank Jablonski about this revolutionary technology and how it's making inroads into other industries and facets of everyday life.

Question has a verified solution.

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

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Suggested Courses

743 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