ACC: Using OLE Automation to Change a Graph's TypeLast reviewed: August 29, 1997Article ID: Q120418 |
The information in this article applies to:
SUMMARYAdvanced: Requires expert coding, interoperability, and multiuser skills. This article describes how to use Automation to dynamically change a chart's type. For example, you could use this method to change a bar chart to a column chart as you print a report or view records in a form. This article assumes that you are familiar with Visual Basic for Applications and with creating Microsoft Access applications using the programming tools provided with Microsoft Access. For more information about Visual Basic for Applications, please refer to your version of the "Building Applications with Microsoft Access" manual. NOTE: Visual Basic for Applications is called Access Basic in Microsoft Access 2.0. For more information about Access Basic, please refer to the "Building Applications" manual.
MORE INFORMATIONThe following example demonstrates how to use Automation to change a chart's type at run time:
REFERENCESFor more information about using Automation, type "Automation" in the Office Assistant, click Search, and then click to view "Automation with Microsoft Access." For more information about using Charts, type "Charts" in the Office Assistant, click Search, and then click to view "Create a Chart."
|
Additional query words: graph5
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |