Closing Multiple Forms

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Suresh Kumaran

    #1

    Closing Multiple Forms

    Hi Everyone,

    I have an application in the following order.

    Form 1 - User Enters Part Number. After certain basic
    validation against the file, Form 2 is show with details
    pertaining to the part number.


    Form 2 Has menu options like File Open, NEW, SAVE, PRINT
    PREVIEW, PrINTER SETUP and EXIT.

    While on Form 2, if the user clicks option NEW I show the
    Form 1 again asking the user to enter the part number up
    which I validate the file again and show the Form 2 with
    the new entered part number details.

    All call routines and validation are in a Module.

    The problem I am having is that windows show the multiple
    forms as been opened.

    My question is how do I close or hide or unload the
    previous form or forms when the user clicks the NEW
    option each time in the FORM 2

    Appreciate help.

    Suresh
Working...