Results 1 to 2 of 2

Thread: Why is DBEngine undefined ???

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2001
    Location
    Iceland
    Posts
    20

    Why is DBEngine undefined ???

    This line ....
    ************
    Set ws = DBEngine.CreateWorkspace("", "admin", "")
    ************
    reports a error saying that DBEngine is undefined. But when I write the line VB suggests all available methods after I write the dot after DBEngine so why does the error come up ????
    Pl ... help ... EE

  2. #2
    New Member
    Join Date
    Apr 2001
    Posts
    6
    Hmm, first thing that comes to mind is do you have a reference to DAO? (I think it's DAO anyway :P)

    It worked fine for me:
    Dim ws As Workspace
    Set ws = DBEngine.CreateWorkspace("", "admin", "")

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