code error....why?

sconly

Registered User.
Local time
Today, 14:50
Joined
Oct 8, 2002
Messages
56
why do i get an error in the following code:

Dim db As Database

error message:
compile error: user-defined type not defined

matt
 
Check Tools/References off the menu bar, you are probably missing a link to the DAO Object Libraries.

Find a DAO Object Lib in the list and check the box. that should do it.
 

Users who are viewing this thread

Back
Top Bottom