
Access 97 -> Access 2000 VB Scope Problem
It is possible you are closing something you didn't open, such as
the default workspace? This can cause references to go out of scope.
Quote:
> Converting Access 97 to Access 2000 with DAO and VB.
> I have an .mdb with VB code called by a form using DAO objects located
> in the same .mdb. There are also several functions in modules. When
> the code (from the form) calls one of the funtions (in a module), the
> DAO object references are lost upon the return from the funtion. Error:
> "Object invalid or no longer set." is returned at the next object
> reference. All this code ran fine under Access 97. SR1a is installed.
--
Perth, Western Australia
Tips for MS Access users at:
http://odyssey.apana.org.au/~abrowne