[AccessD] Simple Print Preview Question

Charlotte Foust charlotte.foust at gmail.com
Mon Aug 30 16:11:35 CDT 2010


Sorry, maybe I don't understand the question.  The only way to
reliably display a report at full magnification is to the RunCommand
acCmdZoom100.  If you create your own buttons for print and preview or
always provide a preview when the user selects print,  that code
should work just fine.  What is it you're trying to accomplish
differently?

Charlotte Foust

On Mon, Aug 30, 2010 at 2:06 PM, Bud Goss <bgoss711 at ameritech.net> wrote:
> 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
>



More information about the AccessD mailing list