Results 1 to 6 of 6
  1. #1
    Lucious is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Oct 2016
    Location
    Utah
    Posts
    3

    Access re-opens itself

    When I close Access while running a particular database, Access reopens itself. When I then close that instance of Access another instance opens. In order to close Access I have to kill the process (ctrl, alt, dlt). This problem only occurs for one particular database. Any ideas?

  2. #2
    Jen0dorf is offline Competent Performer
    Windows 10 Access 2013 32bit
    Join Date
    Jul 2015
    Location
    UK
    Posts
    453
    HI

    How are you closing the Database? from a form or from the main ribbon Bar.

    If from the main ribbon bar do you have any forms open?

    My method of diags would be

    1. Take a copy of your database

    2.Using that copy compact and repair - see if that works

    3. Delete the queries, reports forms one at a time testing each time until the fault dissapears.

    4 Create a table one field and save it.

    5. Delete all your other tables one at a time. -Test

    If after all that you still have the issue then I suspect a windows issue but I'm sure others will contribute solutions

    HTH

    Ian

  3. #3
    Micron is online now Very Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,372
    More info - are you saying it is the same db that 'reopens' or Access just opens to the main application window where you have to select a db to open (and your db is no longer visible)? And, when this happens, you see how many Access instances being reported in the Windows tray?
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  4. #4
    Lucious is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Oct 2016
    Location
    Utah
    Posts
    3
    Access just opens to the main application window where I have to select a db to open (and my db is no longer visible). Only one instance is being reported in the Windows tray. I believe I have tracked down the problem to the only "local" table (the rest are linked). The problem only occurs after data has been written to that table. Very very weird.

  5. #5
    Lucious is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Oct 2016
    Location
    Utah
    Posts
    3
    Access just opens to the main application window where I have to select a db to open (and my db is no longer visible). Only one instance is being reported in the Windows tray. I believe I have tracked down the problem to the only "local" table (the rest are linked). The problem only occurs after data has been written to that table. Very very weird.

  6. #6
    Micron is online now Very Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,372
    My guess is that in code, a created object is still active (e.g. a recordset was created but not closed and the object was not destroyed).
    Memory space allocated to an object should be reclaimed by setting all objects to Nothing, and in the case of recordsets, closing them first - before the procedure ends. If you have an error handling routine in the procedure, your code should always be structured in such a way as to do this even if it errors out. Check if you have any created objects that have not been dealt with before the end of the procedure or call to Quit Access.
    The fact that the table is local should not matter.
    Last edited by Micron; 10-17-2016 at 08:58 AM. Reason: clarification

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

Similar Threads

  1. Access opens up as Read-Only
    By rubenidas in forum Import/Export Data
    Replies: 3
    Last Post: 08-26-2016, 03:08 PM
  2. Access opens but commands dont work
    By tngirl in forum Access
    Replies: 2
    Last Post: 04-04-2014, 02:39 PM
  3. Replies: 3
    Last Post: 11-16-2012, 10:21 AM
  4. Shortcut that ONLY opens Access Form
    By uneek78 in forum Forms
    Replies: 0
    Last Post: 03-30-2009, 06:52 AM
  5. Access opens Frontpage
    By windsurfer in forum Access
    Replies: 0
    Last Post: 02-10-2008, 03:53 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