Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Opening and closing forms - Foxie is a bit too fast ...
Message
From
03/10/1997 08:35:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Opening and closing forms - Foxie is a bit too fast ...
Miscellaneous
Thread ID:
00053023
Message ID:
00053023
Views:
59
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 ?
Next
Reply
Map
View

Click here to load this message in the networking platform