User defined type is not defined

  • Thread starter Thread starter Mei Qin
  • Start date Start date
M

Mei Qin

Hello,

I have a simple code
dim mydb as database
set mydb = currentdb

I got the compile error user defined type is not defined

Does anybody know what is wrong?

Thanks for any help!

Mei
 
Back
Top