ACC97: Graph 97 Chart Object Does Not Update Display CorrectlyLast reviewed: November 11, 1997Article ID: Q165836 |
The information in this article applies to:
SYMPTOMSModerate: Requires basic macro, coding, and interoperability skills. When you add a graph to a report and link its data to a field in the report, the graph is not updated from one record to the next when you view or print the report.
CAUSEMicrosoft Access 97 is not requerying the LinkChildFields and LinkMasterFields properties in the chart object.
RESOLUTIONIf the graph is based on a saved query, open that query in Design view; add the field displayed in the LinkMasterFields and LinkChildFields properties of the graph to that query. If the graph is based on an SQL statement, move the field in the LinkMasterFields and LinkChildFields properties of the graph to a field with a WHERE clause in the graph's RowSource property. The following example shows you how to do this using the Sales By Category report in the sample database Northwind.mdb. CAUTION: Following the steps in this example will modify the sample database Northwind.mdb. You may want to back up the Northwind.mdb file and perform these steps on a copy of the database.
STATUSMicrosoft has confirmed this to be a problem in Microsoft Access 97. If the graph is based on an SQL statement, this behavior does not occur in Microsoft Access 97 Service Release 1. However, if the graph is based on a saved query and you are using Microsoft Access 97 Service Release 1, you must still add the field shown in the LinkChildFields and LinkMasterFields properties of the graph to the query. NOTE: Stand-alone Microsoft Access 97 Service Release 1 is not currently available, but you can update your copy of Microsoft Access 97 to Service Release 1 by downloading Microsoft Office Service Release 1 from Microsoft's Web site at:
http://www.microsoft.com/office/office97/servicerelease MORE INFORMATION
Steps to Reproduce Problem
REFERENCESFor more information about the LinkChildFields and LinkMasterFields properties, search the Help Index for "LinkChildFields property" or "LinkMasterFields property." Keywords : IntpGrph RptOthr kbui Version : 97 Platform : WINDOWS Hardware : x86 Issue type : kbbug Solution Type : Info_Provided |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |