Results 1 to 4 of 4
  1. #1
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 7 64bit Access 2003
    Join Date
    Feb 2011
    Posts
    1,919

    How to halt continued execution


    How do I halt/suspend execution of statements immediately following a DoCmd.OpenForm "MyForm" until the form "MyForm" closes? I.e., when form "MyForm" issues the command DoCmd.Close.

  2. #2
    ssanfu is offline Master of Nothing
    Windows XP Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    IIRC, you might try setting the form "MyForm" modal property to Yes.


    Edit: found these:

    http://www.kallal.ca/Dialog/Index.html
    http://www.utteraccess.com/forum/Mod...-t1960338.html

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Try acDialog, works for me.

    DoCmd.OpenForm "MyFormName", , , , , acDialog
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  4. #4
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 7 64bit Access 2003
    Join Date
    Feb 2011
    Posts
    1,919
    Thanks June, that did it for me too.
    Bill

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

Similar Threads

  1. Continued Help With Combo Box
    By wes9659 in forum Forms
    Replies: 3
    Last Post: 08-01-2014, 11:17 PM
  2. multiple list box problem continued
    By ice051505 in forum Programming
    Replies: 5
    Last Post: 02-20-2013, 06:23 PM
  3. Header Groupings Continued on second page
    By herbc0704 in forum Reports
    Replies: 1
    Last Post: 12-29-2010, 12:25 PM
  4. Exception Reporting - Continued
    By shexe in forum Queries
    Replies: 11
    Last Post: 09-20-2010, 11:20 AM
  5. print continued at bottom of report
    By ecpike in forum Reports
    Replies: 2
    Last Post: 02-25-2010, 02:50 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