When i try to run a module with dim xxx as Database i get this error. What can be the falt? "User-defined type not defined" Carl S.