code error....why? (2 Viewers)

sconly

Registered User.
Local time
Today, 22:11
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
 

GJT

Registered User.
Local time
Today, 22:11
Joined
Nov 5, 2002
Messages
116
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

Top Bottom