[AccessD] Simple Print Preview Question

Jim Dettman jimdettman at verizon.net
Mon Aug 30 17:20:43 CDT 2010


  I've never seen that exposed anywhere either...

JimD. 

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence
Sent: Monday, August 30, 2010 5:54 PM
To: 'Access Developers discussion and problem solving'
Subject: Re: [AccessD] Simple Print Preview Question

Hi Bud:

There might be a way but I have never found one... If the report is saved at
a maximum size it will most likely expand to the full screen next time it is
called in an application but not always.

You can put the two second commands in the report onopen event but then you
will get a flash and you may not want that. I would stick code to display a
full screen background, turn off the repaint, use your method to expand the
report, and then repaint.

HTH
Jim

  

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bud Goss
Sent: Monday, August 30, 2010 2:07 PM
To: Accessd
Subject: [AccessD] Simple Print Preview Question

When I do a print preview my report is displayed at 50% magnification. If I
left click on the report it changes to 100 %. If I left click on the report
again, it goes back to 50 %. 
 
I can change this behavior by using the following code
 
DoCmd.OpenReport stDocName, acPreview
DoCmd.Maximize
DoCmd.RunCommand acCmdZoom100
 
With this code, the report is initially displayed with 100 % magnification.
 
Is there a way to set a database property to get 100% magnification
initially without using the:
DoCmd.Maximize
DoCmd.RunCommand acCmdZoom100
 
statements every time I request a print preview?
-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com


-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com





More information about the AccessD mailing list