Results 1 to 3 of 3
  1. #1
    Mike Dee is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    2

    2007 versus 2010 and Dao 3.6 object library

    I am a hobbyist programmer and my vba programs were written on access 2003 recently I upgraded to 2010. All of my old mdbs and vba programs run and when I look at my library reference I have both the 14.0 object library and the DAO 3.6 object library checked.



    I wanted to share one of my programs with a friend on 2007 but when his reference shows the 12.0 object library and it will not let him reference the DAO 3.6 library. Try as I might I cannot figure how to get the programs to run for him. It will not recognize the dim db and dim rs statements.



    The problems are with dim db as database and dim rs as record set.
    Is there a library that supports these statements like DAO does?

    Thanks

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    IIRC DAO is the default library for ac2007. You should not need to reference it separately.

  3. #3
    Mike Dee is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    2
    Quote Originally Posted by RuralGuy View Post
    IIRC DAO is the default library for ac2007. You should not need to reference it separately.
    Thanks for your response I'll him try it

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 5
    Last Post: 01-07-2016, 12:49 PM
  2. Replies: 1
    Last Post: 06-29-2013, 01:49 AM
  3. VBA Versus Macro
    By RapidRepairArnold in forum Programming
    Replies: 3
    Last Post: 02-04-2013, 05:38 PM
  4. Replies: 0
    Last Post: 07-31-2012, 12:25 PM
  5. Replies: 1
    Last Post: 10-09-2011, 05:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums