Results 1 to 5 of 5

Thread: close form

  1. #1
    Join Date
    Nov 2003
    Posts
    74

    Unanswered: close form

    i have a form named form1. there is a button on the form1 and when the user click on the button, it will open form2. at this point of time how can i close form1???

    pls advice
    nono

  2. #2
    Join Date
    Oct 2003
    Location
    Ger
    Posts
    1,969
    Provided Answers: 1

    Re: close form

    Originally posted by damnnono_86
    i have a form named form1. there is a button on the form1 and when the user click on the button, it will open form2. at this point of time how can i close form1???

    pls advice
    nono
    Use DoCmd.Close acForm, Me.Name

  3. #3
    Join Date
    Oct 2003
    Location
    Ger
    Posts
    1,969
    Provided Answers: 1

    Re: close form

    Originally posted by damnnono_86
    i have a form named form1. there is a button on the form1 and when the user click on the button, it will open form2. at this point of time how can i close form1???

    pls advice
    nono
    Firstly, you shoud close Form1 then open Form2

  4. #4
    Join Date
    Dec 2002
    Location
    Préverenges, Switzerland
    Posts
    3,740
    or
    docmd.close acform, "form1"

    izy
    currently using SS 2008R2

  5. #5
    Join Date
    Nov 2003
    Posts
    74
    yuppie thanks all!!!

    cheers
    nono

Posting Permissions

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