Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2007

    Unanswered: Recordset not recognized in Access 2007 VBA

    I installed Access 2007 and tried using some old code.

    I get compile error "user type not recognized" for the line:

    Dim rst as DAO.Recordset
    I get the same error for QueryDef etc. making almost my entire code unusable.

    I understand it has something to do with references but I can't find the working combination. Thanks!

  2. #2
    Join Date
    Apr 2007
    Solved! DAO library way down on the list!

    Post can be deleted by moderator!

  3. #3
    Join Date
    Nov 2007
    Adelaide, South Australia
    No, it's good to have a record just in case someone else has the same problem..... not that I am a moderator, but imo, no need to delete
    Owner and Manager of
    CypherBYTE, Microsoft Access Development Specialists.
    Microsoft Access MCP.
    And all around nice guy!

    "Heck it's something understood by accountants ... so it can't be 'that' difficult..." -- Healdem
    "...teach a man to code and he'll be frustrated for life! " -- georgev

Posting Permissions

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