Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Calling one form from another
Hi,
I have setup a project in VFP that contains a number of tables, 2 forms, 1 report and 1 program.
To run the application the main program is executed which calls the Password Form. A Read Events statement is issued straight after the Do Form command.
The user inputs the password and then clicks on the OK button.
This calls the Main Processing Form with a Read Events statement straight after the Do Form command. Once the user has finished in this Form and clicks the Exit button, this issues a Clear Events statement which should take the code to the point straight after the Read Events in the Password Form. The code after this just releases the Password Form and returns control back to the Main Program.
My problem is that I cannot get the Password Form to Close Down after every execution. When I try to modify it a message "file in use.." appears.
Can anyone help me get the correct syntax I should be using when issuing Read and Clear Events?
thanks,
Jason Lawrie
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement