• Method ‘CurrentDB’ of object ‘_Application’ failed (A2000sr1)

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Method ‘CurrentDB’ of object ‘_Application’ failed (A2000sr1)

    • This topic has 4 replies, 3 voices, and was last updated 23 years ago.
    Author
    Topic
    #369849

    After I installed another application (that gives the same error message #) my application gives me this message “Run-time error ‘-2147024770 (8007007e)’: Method ‘CurrentDB’ of object ‘_Application’ failed” When I go to debug it goes to this part of my code: Set db = CurrentDb()
    Does anyone have any clue for me?

    Viewing 1 reply thread
    Author
    Replies
    • #583412

      Check your references, and make sure one of them isn’t flagged as “Missing”.

    • #583480

      If suspect you’ll need to post more code that that single line before anyone can answer your question. If you have dimmed db as a database object, for instance, but you don’t have a reference set to DAO, then you’ll definitely get an error. That particular error message looks highly peculiar, so I suspect there’s more to it than a broken or missing reference.

      • #583558

        Charlotte,
        Thanks for replying–I think it was a MS Windows XP problem with registering some dll’s. We used the XP’s System Restore to restore the system prior to the problem and it fixed the problem.

        • #583573

          Ah, the joys of Windows XP! We have two XP machines and are constantly running into weird behavior. For example, there is a form in one of our applications that looks perfectly normal on other machines but has its buttons overlapping some of the other controls on the XP machines. shrug

    Viewing 1 reply thread
    Reply To: Method ‘CurrentDB’ of object ‘_Application’ failed (A2000sr1)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: