ACC2000: Load/Unload Statement Does Not Apply to Microsoft Access

ID: Q200573


The information in this article applies to:

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

This article applies to a Microsoft Access database (.mdb) and a Microsoft Access project (.adp).


SUMMARY

The "Load Statement" and "Unload Statement" Help topics included in the Microsoft Access Help system do not apply to procedures that you create in Microsoft Access. You can use these statements with UserForms in other Microsoft Office applications and Microsoft Visual Basic. The Load and Unload statements do not apply to Access forms.


MORE INFORMATION

The "Load Statement" Help topic reads as follows:

Loads an object but doesn't show it.

Syntax

Load object

The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Remarks

When an object is loaded, it is placed in memory, but isn't visible. Use the Show method to make the object visible. Until an object is visible, a user can't interact with it. The object can be manipulated programmatically in its Initialize event procedure.
The "Unload Statement" Help topic reads as follows:
Removes an object from memory.

Syntax

Unload object

The required object placeholder represents an object expression that evaluates to an object in the Applies To list.

Remarks

When an object is unloaded, it's removed from memory and all memory associated with the object is reclaimed. Until it is placed in memory again using the Load statement, a user can't interact with an object, and the object can't be manipulated programmatically.
This information does not apply to Microsoft Access.

Additional query words: inf


Keywords          : kbprg kbdta 
Version           : WINDOWS:2000
Platform          : WINDOWS 
Issue type        : kbinfo 

Last Reviewed: May 13, 1999