I
Ian Elliott
Thanks for any help.
I inherited a large database, and only use a few of the tables, forms, and
queries in it, so I thought I would make a copy, and in the new version,
delete all the unnecessary stuff. Please don't laugh.
Well, anyway, when I run the macro on the form, I get this error:
Compile error:
User-defined type not defined
for the line:
Dim mydb As Database
But I can't see why this causes problems. This is a valid dim, right? I
looked at the code in the copy, but I couldn't find anywhere there where it
defines Database.
I am using MS Access VB 6.3. Any help appreciated.
Thanks.
I inherited a large database, and only use a few of the tables, forms, and
queries in it, so I thought I would make a copy, and in the new version,
delete all the unnecessary stuff. Please don't laugh.
Well, anyway, when I run the macro on the form, I get this error:
Compile error:
User-defined type not defined
for the line:
Dim mydb As Database
But I can't see why this causes problems. This is a valid dim, right? I
looked at the code in the copy, but I couldn't find anywhere there where it
defines Database.
I am using MS Access VB 6.3. Any help appreciated.
Thanks.