PDA

Click to See Complete Forum and Search --> : DB enginne doesn't work


ermingut
Jan 9th, 2000, 01:31 PM
When I try to define variable like this

dim xy as Workspace

VB come up with a message:
User-defined type not defined.

In fact I can not work with databasen in my copy of VB

What should I do?

Ermin

benski
Jan 9th, 2000, 05:41 PM
Add a reference to the relevant file, depending on what type of data access technology you want to use.

By the look of things, your using DAO, therefore try adding a reference (from the Project menu) to "Microsoft DAO 3.51 Object Library" or "Microsoft DAO 3.6 Object Library".

You should then be able to see the DAO Library functions and objects in the Object Browser (F2).