D
Dan
Hi;
I have code that is working in one database, but not in
another.
I was unable to convert my project to a .mde because my
database was "corrupted" even though everything seems to
be working fine. I tried Microsoft's
recommended "workaround", but that doesn't seem to work
either. SO, I decided I was going to build a new project
and import all my tables, forms, queries, ect.
PROBLEM: I have code in a module that looks like this:
"Dim dbs As DAO.Database" When this code is invoked at
the project startup I get this message:
"Compile error; User defined type not defined:
This code works in the project that I'm trying to import
the code from. Both projects are standard Office XP VBA
projects.
Anyone have any ideas why I can't make a .mde file of my
project, OR why I am getting this Compile error?
Thanks,
Dan
I have code that is working in one database, but not in
another.
I was unable to convert my project to a .mde because my
database was "corrupted" even though everything seems to
be working fine. I tried Microsoft's
recommended "workaround", but that doesn't seem to work
either. SO, I decided I was going to build a new project
and import all my tables, forms, queries, ect.
PROBLEM: I have code in a module that looks like this:
"Dim dbs As DAO.Database" When this code is invoked at
the project startup I get this message:
"Compile error; User defined type not defined:
This code works in the project that I'm trying to import
the code from. Both projects are standard Office XP VBA
projects.
Anyone have any ideas why I can't make a .mde file of my
project, OR why I am getting this Compile error?
Thanks,
Dan