This is a strange one in deed. I have a dbase that I use an autoexec macro on with a public function, RunOncez() where I dim dbs As Database. I mase a second dbase for archiving some of the data from the first dbase. I imported the macro and the module from the first dbase to the second dbase and did not change any names. I just tried to open the second dbase and I get this error message:
"Compile error: User-defined type not defined" the debugger has the Dim dbs As Database hi-lited. Any ideas on this erroe? It works great in the first dbase, I can not understand why it doesn't work in the second dbase and no they are not in the same directory. Any ideas and hopefully solutions will be greatfully appreciated. Thanks in advance.
"Compile error: User-defined type not defined" the debugger has the Dim dbs As Database hi-lited. Any ideas on this erroe? It works great in the first dbase, I can not understand why it doesn't work in the second dbase and no they are not in the same directory. Any ideas and hopefully solutions will be greatfully appreciated. Thanks in advance.