Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Database is a user defined type

Status
Not open for further replies.

matrixknow

IS-IT--Management
May 3, 2007
78
Hola,

I have a simple "dim dbs as Database"

Code:
Dim dbs As Database

this produce the error "this ia a user defined type not ok".
Is this depending on the version of access. I tried also DAO.database. I use access version 2000
 
In the VBE, menu Tools -> References ...
Tick the Microsoft DAO 3.x Object Library checkbox.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
thanks PHV, it works! How would I find this out if there was not a forum like tek-tips ? Correct answers for little but sometimes nasty questions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top