ACC95: Incorrect ChangeChart Example in Building Applications

Last reviewed: June 3, 1997
Article ID: Q153466
The information in this article applies to:
  • Microsoft Access version 7.0

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


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 3, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.