General information
Title:
Opening and closing forms - Foxie is a bit too fast ...
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only