ACC95: Incorrect ChangeChart Example in Building Applications

ID: Q153466

The information in this article applies to:

SYMPTOMS

Advanced: Requires expert coding, interoperability, and multiuser skills.

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:

   ARTICLE-ID: Q128364
   TITLE     : ACC2: Microsoft Graph VBA Help File Available on MSL
Keywords            : AutoGrph DcmMnl kberrmsg kbinterop
Technology          : kbole
Version             : 7.0
Platform            : WINDOWS
Hardware            : X86
Issue type          : kbdocerr
Resolution Type     : Info_Provided

Last Reviewed: June 3, 1997