Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2006

    Unanswered: Close popup form

    In my on current event i am opening a pop up form according to the code listed below.However when i want to move to the next customer,the pop up form does not want to close. How can i make the pop up form close each time i move to the next record.I need this to happen in the on curret event

    Dim stDocName As String
    Dim stLinkCriteria As String
    stDocName = " PopuUpCustomers"
    stLinkCriteria = "Forms![PopUpCustomers]!CustomerID =" & Me.Customerid

    DoCmd.OpenForm "PopUpCustomers"

  2. #2
    Join Date
    Oct 2003
    Provided Answers: 1
    DoCmd.Close acForm, "PopupFormName"

  3. #3
    Join Date
    Jun 2005
    Richmond, Virginia USA
    Provided Answers: 19
    I'm confused! You open the popup in the OnCurrent Event, and you need to have it close in the OnCurrent Event? What exactly does this popup do?
    Hope this helps!

    The problem with making anything that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts