Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2004
    Posts
    41

    Unanswered: Form procedure question

    Will any statement in a procedure in a form's class module following a command to close the form execute? eg:

    In module behind "MyForm"
    ......
    Statements.....
    DoCmd.Close acForm, "MyForm"
    Statement 1
    Statement 2
    End Sub

    Will statements 1 and 2 execute?

  2. #2
    Join Date
    Mar 2003
    Location
    The Bottom of The Barrel
    Posts
    6,102
    Provided Answers: 1
    Yes.

    try it for yourself:

    DoCmd.Close acForm, "MyForm"
    MsgBox "Fired"
    oh yeah... documentation... I have heard of that.

    *** What Do You Want In The MS Access Forum? ***

Posting Permissions

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