Results 1 to 3 of 3
  1. #1
    snoopy2003 is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Feb 2011
    Posts
    72

    Can not close pop up form after second pop was opened

    Hello,

    I have a pop up form which opens another pop up form.
    I wish to close them both afterwards.

    I open the second pop up with acdialog and after that I placed
    a docmd command to close the form.

    I get the error: "The action can not be carried out while processing form or report 2285".

    How can I solve it ?



    Thank you

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    you probably can't close a popup form that's underneath the top form.

  3. #3
    snoopy2003 is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Feb 2011
    Posts
    72
    Hello,

    Thank you for your answer.

    I found that in the form beneath current form there is
    a "On current" event. By disabling it it works.

    My problem is that I need this event sub to run after the form
    was completely load.

    Can I user another event to my sub instead of "On Current" ?

    Thank you

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

Similar Threads

  1. How to refresh and close a form
    By LAazsx in forum Forms
    Replies: 10
    Last Post: 12-13-2010, 06:24 AM
  2. form won't save and close
    By Philislost in forum Access
    Replies: 6
    Last Post: 10-08-2010, 01:47 PM
  3. Check if form is opened by other users
    By ser01 in forum Programming
    Replies: 2
    Last Post: 05-03-2010, 12:07 AM
  4. Close All but One Form
    By Bruce in forum Forms
    Replies: 4
    Last Post: 04-06-2010, 09:31 AM
  5. close form
    By taylorosso in forum Forms
    Replies: 5
    Last Post: 08-25-2009, 12:18 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