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