Is IsObjectLoaded a vb method? (1 Viewer)

Mansfield

New member
Local time
Today, 19:28
Joined
Nov 21, 2000
Messages
7
In the form close event I need to determine if a form is loaded and it it is I need to update the combo box using requery. I have an Access database in front of me that has used the IsObjectLoaded method in the form close event but when I run it in my database Access gives me an error message saying that my Sub or Function is not defined. Any help would be greatly appreciated
 

Fornatian

Dim Person
Local time
Today, 19:28
Joined
Sep 1, 2000
Messages
1,396
Open the Northwind.mdb or Solutions.mdb in the samples directory on your PC and look at the modules.

There should be one called 'IsLoaded'.
Copy that module and place it in your database.

The reason it you couldn't get it to work originally is because it is a user defined function and either needs to be included in the standard modules or a reference needs to be made to the other databases modules.

Hope that helps

Ian
 

Users who are viewing this thread

Top Bottom