Jul 24, 2002 #1 dt2demar Technical User Nov 20, 2000 32 CA Hello, When I try to run my program the compile error I get is: user-defined type not defined The highlighted part of the VBcode is: Dim dbs As Database What is the problem here? This syntax worked on a form in a different database. thanks in advance. DTD
Hello, When I try to run my program the compile error I get is: user-defined type not defined The highlighted part of the VBcode is: Dim dbs As Database What is the problem here? This syntax worked on a form in a different database. thanks in advance. DTD
Jul 24, 2002 #2 HAH Programmer Jul 24, 2002 10 US Repair the database, this should fix the problem. HAH Upvote 0 Downvote
Jul 24, 2002 Thread starter #3 dt2demar Technical User Nov 20, 2000 32 CA Repairing the database didn't work. Same error. Any other ideas? Upvote 0 Downvote
Jul 24, 2002 Thread starter #4 dt2demar Technical User Nov 20, 2000 32 CA Figured it out: Create reference to DAO and move it into third position of references list. VBA window's menu <Tools>;<References> Thanks anyways!! DTD Upvote 0 Downvote
Figured it out: Create reference to DAO and move it into third position of references list. VBA window's menu <Tools>;<References> Thanks anyways!! DTD