ACC97: Contents of Snapshot Viewer Control Appear Outside Control's Boundaries (172807)
The information in this article applies to:
This article was previously published under Q172807 Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
A Microsoft Access form displays the contents of a Snapshot Viewer ActiveX
control outside the boundaries of the control.
CAUSE
This behavior occurs when the SnapshotPath property of the Snapshot Viewer
control is set to a report snapshot file and one of the following is true:
- You resized the form section by dragging the bottom edge of the section
up and over the bottom edge of the Snapshot Viewer ActiveX control.
-or-
- You resized the Snapshot Viewer ActiveX control so the top of the
control overlapped the navigation buttons in the control.
RESOLUTIONMethod 1
Clear the SnapshotPath property of the Snapshot Viewer ActiveX control. To
view a report in the Snapshot Viewer control in form view, set the
SnapshotPath property of the Snapshot Viewer control using Visual Basic for
Applications code in the Load event of the form. The following sample event
procedure demonstrates this method:
Sub Form_Load()
Me!snpViewer.SnapshotPath = "C:\My Documents\Sales by Category.snp"
End Sub
This is the recommended method.
Method 2
Minimize and restore the form window.
Note: This method may not resolve the display problem in all situations.
STATUS
Microsoft has confirmed this to be a problem in Microsoft Access 97.
REFERENCES
For more information about the Snapshot Viewer ActiveX control, see
Microsoft Snapshot Viewer Help (Snapview.hlp), which is installed with the
Microsoft Snapshot Viewer.
For more information about report snapshots and Microsoft Snapshot Viewer,
please see the following article in the Microsoft Knowledge Base:
172348 ACC97: Report Snapshots and Microsoft Snapshot Viewer
Modification Type: | Major | Last Reviewed: | 9/25/2003 |
---|
Keywords: | kbbug kbhowto KB172807 |
---|
|