ACC97: Microsoft Access 97 Does Not Support UserForm Object

ID: Q171319


The information in this article applies to:
  • Microsoft Access 97


SUMMARY

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

Microsoft Access 97 does not support the UserForm object or the UserForms collection. Although some methods, properties, events, and statements that apply only to the UserForm object appear in Microsoft Access Help, you cannot use them in Microsoft Access 97. This is documented in the Acread80.wri file that is installed with Microsoft Access 97 or Microsoft Office 97.


MORE INFORMATION

In Microsoft Access 97, you receive the following error message if you try to use a method or property of the UserForm object in Visual Basic for Applications code:

Run-time error '2465':

Application-defined or object-defined error

Using the following methods and properties will cause this error because these methods and properties apply only to the UserForm object:

   Methods
   -------

   Hide
   PrintForm
   Show
   WhatThisMode


   Properties
   ----------

   StartUpPosition
   WhatsThisButton
   WhatsTHisHelp 

Although the Load event and the Unload event apply to Microsoft Access forms, the Load statement and the Unload statement apply only to the UserForm object. The syntax contained in the Help topics for these statements does not work in Microsoft Access 97.


REFERENCES

For more information about the UserForm object, search the Help Index for "UserForm object."

Keywords : kberrmsg kbprg
Version : 97
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: April 27, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.