Knowledge Base

ACC: Incorrect ChangeChart Example in Building Applications

Article ID: 153466

Article Last Modified on 1/19/2007


APPLIES TO


This article was previously published under Q153466
Advanced: Requires expert coding, interoperability, and multiuser skills.

SYMPTOMS

The ChangeChart_Click() sub procedure on page 271 of the "Building Applications with Microsoft Access for Windows 95" manual causes the error, (Run-time error 1000) "Application does not have ChartTitle property."

RESOLUTION

Change the following line in the ChangeChart_Click() procedure
   obj.ChartTitle.Caption = strNewTitle
				
to read as follows:
   obj.Chart.ChartTitle.Caption = strNewTitle
				

REFERENCES

For more information about using Microsoft Graph as an OLE automation server, please refer to VBA_GRP.HLP. If you need to obtain this file, please see the following article in the Microsoft Knowledge Base:

128364 ACC2: Microsoft Graph VBA Help File Available in Download Center


Additional query words: prb

Keywords: kberrmsg kbinterop kbprb KB153466