Results 1 to 4 of 4

Thread: Dim blah as Database??

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2002
    Posts
    16

    Dim blah as Database??

    When I do Dim variable as Databse, the Databse is not an option for defining a variable. What do I have to add to be able to use Database to define a variable??

  2. #2
    Frenzied Member ae_jester's Avatar
    Join Date
    Jun 2001
    Location
    Kitchener Ontario Canada Earth
    Posts
    1,545
    Project -> References -> check Microsoft DAO 3.51 Object Library

  3. #3
    Frenzied Member Memnoch1207's Avatar
    Join Date
    Feb 2002
    Location
    DUH, Guess...Hint: It's really hot!
    Posts
    1,861
    You need to set a reference to the Microsoft DAO 3.51 or 3.6 Object Library.
    Being educated does not make you intelligent.

    Need a weekend getaway??? Come Visit

  4. #4

    Thread Starter
    Junior Member
    Join Date
    May 2002
    Posts
    16
    Set rsTest = gblDatabase.OpenRecordset("Students", dbOpenDynaset)

    I get type mismatch error??

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