Snapshot Viewer not displaying image properly.

skwilliams

Registered User.
Local time
Yesterday, 21:03
Joined
Jan 18, 2002
Messages
516
I have three reports which are exported as snapshot files.

Two of these display properly in snapshot viewer. However, the third report is reduced in size in the snapshot viewer to about 1/4 of the page. All three display and print properly from Access.

Any ideas??????
 
Can you post the snapshot in question?

Autoeng
 
OK. Not much help there. Post the code used to create the snapshot report and lets have a look at that.

Reason why? Perhaps the zoom property has been set for that snapshot. I found this in vba help.

Zoom Property


You can use the Zoom property to specify or determine the display state for a snapshot.

Setting

The Zoom property is an Integer value between 0 and 8 representing the display state for a snapshot page as a percentage of the actual page size.

Constant Description
snapZoomToFit (Default) Zooms to a full page display.
snapZoomToFill Zooms the page to fill the available space in the control.
snapZoom200Percent Zooms the page by a factor of 200%.
snapZoom150Percent Zooms the page by a factor of 150%.
snapZoom100Percent Zooms the page by a factor of 100%.
snapZoom75Percent Zooms the page by a factor of 75%.
snapZoom50Percent Zooms the page by a factor of 50%.
snapZoom25Percent Zooms the page by a factor of 25%.
snapZoom10Percent Zooms the page by a factor of 10%.


You can set the Zoom property by using the control's property sheet or Visual Basic.

If you set this property to an invalid value, an error occurs.

Remarks

When the AllowContextMenu property is set to Yes, you can also specify the Zoom property from the control's pop-up menu.

Autoeng
 
Last edited:
It's not actually zooming on the report. It seems to be reducing the size of the data by 75% because the report is only covering a quarter of the 8.5 x 11 sheet.

Here's the code:
Private Sub Command1_Click()

Dim stDocName as String

stDocName="WedStock"

DoCmd.OutputTo acOutputReport, stDocName, acFormatSNP, M: McPIntranet.Reports.Wedstock.snp

Exit_Command1_Click:
MsgBox Err.Description
Resume Exit_Command1_Click()

End Sub
 
Very odd. My guess is that it is in the report somewhere but you would think that it would display same when running report only. I'm all out of ideas other than forcing a larger print by setting the Zoom property in your code. It doesn't fix what is wrong but does get you around the problem.

Sorry I couldn't be of more help.

Autoeng
 

Users who are viewing this thread

Back
Top Bottom