Results 1 to 4 of 4
  1. #1
    MatthewGrace is offline Competent Performer
    Windows 8 Access 2010 64bit
    Join Date
    Jan 2013
    Posts
    159

    No mention of ADO or DAO in References...

    I am currently learning about the Recordset Object and have come to understand there is a difference between "DAO" and "ADO". Supposedly I should be able to check my References and determine which ones I'm using when I say "Dim myR as Recordset". However, neither show up in my references. Is there something I should checkmark before proceeding? I have never touched it, the settings you see were automatically placed. Thank you for any comments, Matt



    Click image for larger version. 

Name:	NoADO-DAO.png 
Views:	9 
Size:	19.3 KB 
ID:	18741

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,953
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    MatthewGrace is offline Competent Performer
    Windows 8 Access 2010 64bit
    Join Date
    Jan 2013
    Posts
    159
    I have reviewed, but I'm not sure how to apply, here's why: Allen says "The three essentials are VBA, Access, DAO. The VBA and Access libraries are built in, and will always have highest priority."

    Looking at the picture I provided above, you can see that I have a VBA and TWO Access libraries automatically. While I'm pondering that, I have this to worry about: I can still Dim objects as Recordsets, indeed I have been using them just fine, though references to either DAO or ADO are both absent! Further baffling is in the picture attached below, you'll see Intellisense actually pulling up the DAO library, all on its own, with NO mention of DAO in my References as we saw in my first post. Since Intellisense doesn't do this if I start typing "Dim rs As ADO." I can only assume it's using DAO, or perhaps some new version built-into one of the two Access libraries. I'm using Office 365, so I *think* it is permanently the newest version of Access (recv's auto updates). My money's on DAO being referenced behind the scenes in a poor fashion.

    Click image for larger version. 

Name:	4.png 
Views:	9 
Size:	10.4 KB 
ID:	18742

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,953
    As Allen also stated, DAO is the native (default) library. So apparently even without explicitly activating the reference, intellisense finds it anyway. If you want ADO then must activate the library. I use both types of recordsets although probably all uses could have been DAO.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. References
    By jessiemaske in forum Access
    Replies: 0
    Last Post: 05-30-2012, 09:33 AM
  2. Composite key references same table
    By Bangsadrengur in forum Reports
    Replies: 0
    Last Post: 08-04-2011, 05:46 AM
  3. Missing or broken references
    By AdrianR in forum Access
    Replies: 1
    Last Post: 06-21-2011, 10:34 AM
  4. Best References on Access
    By evander in forum Access
    Replies: 4
    Last Post: 10-14-2010, 10:58 AM
  5. DataBase References
    By stormypara in forum Access
    Replies: 1
    Last Post: 03-03-2008, 11:27 AM

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