This works fine in Access 97:
Dim db As Database
But in Access 2002 I get an error: Compile Error User defined type not
It does work in a database that is converted from 97 to 2002.
Why does this happen and what can I do about this?