Results 1 to 5 of 5
  1. #1
    Perceptus's Avatar
    Perceptus is offline Expert
    Windows 7 64bit Access 2007
    Join Date
    Nov 2012
    Location
    Knoxville, Tennessee
    Posts
    659

    Check for open objects

    Sometimes access wont close correctly on some databases. I have made a "Quit Application" button using the wizard to exit the application. but instead this leaves me with an empty access window that must have its process killed to exit in a timely manner.



    Is there an expressing I can enter into the Immediate window to evaluate what is keeping the application from closing out?

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    is your command button code just simply docmd.quit or something? or is it more extensive?

  3. #3
    Perceptus's Avatar
    Perceptus is offline Expert
    Windows 7 64bit Access 2007
    Join Date
    Nov 2012
    Location
    Knoxville, Tennessee
    Posts
    659
    the command button is using the Embedded Macro that is created by the wizard.

  4. #4
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    I don't use macros sorry, there's code to cycle through forms or reports etc and a way to check if they are open but it requires VBA.

  5. #5
    Perceptus's Avatar
    Perceptus is offline Expert
    Windows 7 64bit Access 2007
    Join Date
    Nov 2012
    Location
    Knoxville, Tennessee
    Posts
    659
    Alrighty, Thanks anyways.

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

Similar Threads

  1. How can I check if a Form is open?
    By Gezza in forum Forms
    Replies: 2
    Last Post: 02-07-2012, 06:31 PM
  2. How to check if a form is open.
    By ismith in forum Forms
    Replies: 2
    Last Post: 01-26-2012, 08:10 AM
  3. VBA to check if a database is open
    By FSCHAMP in forum Programming
    Replies: 1
    Last Post: 04-28-2011, 08:20 AM
  4. check if all objects are closed (forms & reports)
    By RedGoneWILD in forum Access
    Replies: 2
    Last Post: 09-03-2010, 05:53 PM
  5. Replies: 2
    Last Post: 02-26-2010, 08:14 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