ID: Q154455
The information in this article applies to:
Moderate: Requires basic macro, coding, and interoperability skills.
When you attempt to requery a Microsoft Graph object on a report, you may receive the following message:
Microsoft Access doesn't allow you to use this method in the current
view.
Microsoft has confirmed this to be a problem in Microsoft Access 7.0. This problem no longer occurs in Microsoft Access 97.
1. Open the sample database Northwind.mdb.
2. Open the Sales By Category report in Design view.
3. Add the following code to the form's module:
Private Sub GroupHeader0_Format(Cancel As Integer, FormatCount As _
Integer)
Me!Graph10.Requery
End Sub
4. Close and save the report.
5. Print Preview the report. Note that you receive the error mentioned in
the SYMPTOMS section.
Keywords : kberrmsg kbinterop IntpGrph
Version : 7.0
Platform : WINDOWS
Hardware : x86
Issue type : kbbug
Solution Type : kbfix
Last Reviewed: August 29, 1997