
Create MDE with Access 97 / 2002 problem
MichKa helped me with this once a long time ago. To be specific, you need to
add the DbEngine prefix for common operations such as:
DBEngine.OpenDatabase(strDbPath)
DBEngine.Idle dbRefreshCache
DBEngine.CreateDatabase
The Mdb may work without the prefix, but fail to compile to .Mde.
You might also have some code corruption, in which case you might want to
try decompile. See:
http://www.trigeminal.com/usenet/usenet004.asp?1033
- Steve
Are you using DAO at all? One common cause of this is using top level DAO
objects without prepending the DBEngine to them....
--
MichKa
This posting is provided "AS IS" with
no warranties, and confers no rights.
Quote:
> I have installed both Access 2002 and 97 on my maschine and try to make an
> MDE out of the MDB.
> This fails with the error message "Compile error in hidden module" and
with
> a referance to a form in the MDB.
> The MDB is compiled with no compile errors before attempting to make the
> MDE.
> When I try to make an MDE out of a smaller MDB there is no errors.
> Making the MDE from the same MDB succeedes on another machine with just
> Access 97 installed.
> Thanks for any clues that can help me out.
> --
> Kind regards
> Hans-Christian Francke
> www.master-office.com