ACC: Incorrect ChangeChart Example in Building Applications (153466)



The information in this article applies to:

  • Microsoft Access for Windows 95 7.0
  • Microsoft Access 97

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


Modification Type:MajorLast Reviewed:10/20/2003
Keywords:kberrmsg kbinterop kbprb KB153466