Results 1 to 2 of 2

Thread: DB enginne doesn't work

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 1999
    Location
    SLOVENIA, Europe
    Posts
    110

    Post

    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

  2. #2
    Lively Member benski's Avatar
    Join Date
    Sep 1999
    Location
    UK
    Posts
    126

    Post

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width