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
Printable View
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
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).