Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling one form from another
Message
De
03/09/2002 08:43:37
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Calling one form from another
Divers
Thread ID:
00696163
Message ID:
00696163
Vues:
60
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
Fil
Voir

Click here to load this message in the networking platform