Results 1 to 2 of 2
  1. #1
    thestappa is offline Novice
    Windows XP Access 2003
    Join Date
    Dec 2008
    Posts
    16

    Add a close button?

    Hello,



    I'm trying to add a close button to my report (2007). I can add the button fine and get to code builder but I'm having trouble finding the code to actually close the form. I seem to recall something simple like
    Code:
    Me.Close
    working but it's not an option.

    The only thing I can come close is
    Code:
    Me.Visible = FALSE
    but it isn't very smooth looking when I push the button.

  2. #2
    thestappa is offline Novice
    Windows XP Access 2003
    Join Date
    Dec 2008
    Posts
    16
    Nevermind, it's DoCmd.Close

    Thread can be deleted.

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

Similar Threads

  1. Close Button Functions
    By Evgeny in forum Programming
    Replies: 3
    Last Post: 04-29-2010, 11:21 PM
  2. Close All but One Form
    By Bruce in forum Forms
    Replies: 4
    Last Post: 04-06-2010, 09:31 AM
  3. Close DAP Connection
    By gfultz in forum Access
    Replies: 0
    Last Post: 10-16-2009, 10:11 AM
  4. Replies: 4
    Last Post: 09-10-2009, 03:09 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