User Defined type not defined

  • Thread starter Thread starter Tim
  • Start date Start date
T

Tim

I have this statment at the start of a module:

Dim DBS as Database

....but it does not recognise this type...which is weird
as it does in other applications that I have. Just re-
installed everything to be sure (Access 2002 SP3) but
still have the same problem.

Is there a way around this? Is this common?

TIA
Tim
 
Tim,

In your module, go to the Tools|References menu. There should be a
Reference set to Microsoft DAO 3.6 Object Library. If there isn't, find
it on the list, and select it.
 
Back
Top