Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Opening and closing forms - Foxie is a bit too fast ...
Message
De
03/10/1997 08:35:08
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Opening and closing forms - Foxie is a bit too fast ...
Divers
Thread ID:
00053023
Message ID:
00053023
Vues:
64
I do investigate building serious client-server applications.
but My first tests lead to serious pbs related to opening
(and closing) forms before running such task like SQLEXEC() or DELETE DATABASE

In the first example

do form MyPleaseWaitForm &&
sqlexec(myconnection,"select * from ...)

Fox does start the SQLEXEC command before completing FORM OPENING.
The form is only completed once the SQLEXEC is finished ! not nice

In the second example :

MyDataForm.Release
DELETE DATABASE MyData

Fox deletes DATABASE before releasing FORM breaking its dataenvironment !

My current trick is to insert :
i = INKEY(iSeconds)
between the 2 lines of code.

This is not very smart indeed and does seem to solve Close pb.
Any idea to prevent fox from being a bit too fast ?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform