Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/171319

From BetaArchive Wiki
Knowledge Base


ACC97: Microsoft Access 97 Does Not Support UserForm Object

Article ID: 171319

Article Last Modified on 1/20/2007



APPLIES TO

  • Microsoft Access 97 Standard Edition



This article was previously published under Q171319

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


SUMMARY

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."


Additional query words: run time error 2465

Keywords: kberrmsg kbinfo kbprogramming KB171319