ACC95: Can't Requery Microsoft Graph Object on Report

ID: Q154455


The information in this article applies to:
  • Microsoft Access 7.0


SYMPTOMS

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.


STATUS

Microsoft has confirmed this to be a problem in Microsoft Access 7.0. This problem no longer occurs in Microsoft Access 97.


MORE INFORMATION

Steps to Reproduce Problem

  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.


Additional query words:

Keywords : kberrmsg kbinterop IntpGrph
Version : WINDOWS:7.0
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: October 20, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.