Article ID: 165836 - Last Review: January 19, 2007 - Revision: 3.4 ACC97: Graph 97 Chart Object Does Not Update Display CorrectlyThis article was previously published under Q165836 Moderate: Requires basic macro, coding, and interoperability skills.
On This PageSYMPTOMS
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.
CAUSE
Microsoft Access 97 is not requerying the LinkChildFields and
LinkMasterFields properties in the chart object.
RESOLUTION
If 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 uses the Sales By Category report in the sample database Northwind.mdb to show you how to do this. 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.
STATUS
Microsoft 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: To update your copy of Microsoft Access 97 to Service Release 1, download Microsoft Office Service Release 1 from Microsoft's Web site at the following address:
http://office.microsoft.com/en-us/assistance/HA010449921033.aspx
(http://office.microsoft.com/en-us/assistance/HA010449921033.aspx)
MORE INFORMATIONSteps to Reproduce Problem
REFERENCES
For more information about the LinkChildFields and LinkMasterFields
properties, search the Help Index for "LinkChildFields property" or
"LinkMasterFields property."
| Article Translations
|

Back to the top
