I created a blank database, accepting the default name of "Database1". I imported into it some objects, including a VBA module, from an existing database. When I ran one of the VBA procedures I got the error message: "Compile error: User-defined type not defined". The debugger indicated that the offending type was "Database" in the context: "Dim db As Database". I have never created a user-defined data type so I retyped "Dim db As" to confirm that Database was included in the drop-down list of system defined types. To my surprise Database wasn't included in the list but "Database1" was! Can anyone explain what's going on?