Microsoft KB Archive/122355

{|
 * width="100%"|

PRB: Error Using Graph, UnboundObjectFrame in TypeOf Statement
'Article ID: Q122355

Creation Date: 02-NOV-1994

Revision Date: 19-SEP-1996' The information in this article applies to:


 * Microsoft Access version 2.0

SYMPTOMS

Moderate: Requires basic macro, coding, and interoperability skills.

Page 163 of the Microsoft Access version 2.0 "Building Applications" manual states that you can use Graph or UnboundObjectFrame as a valid controltype argument in an "If TypeOf Is " expression. If you use either of these arguments, however, you receive one of the following error messages:

 Invalid subclass 'UnboundObjectFrame' referred to in TypeOf function -or- Invalid subclass 'Graph' referred to in TypeOf function

RESOLUTION

Neither Graph nor UnboundObjectFrame is a valid controltype argument. They are listed on page 163 in error.

REFERENCES

Microsoft Access "Building Applications," version 2.0, Chapter 7, "Objects and Collections," pages 162-163
 * }

-

"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." '' ©1997 Microsoft Corporation. All rights reserved. Legal Notices.

''

Additional reference words: 2.00

KBCategory: kbusage kbdocerr kberrmsg

KBSubcategory: DcmMnl