Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Executing in sequence
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01012744
Message ID:
01013219
Vues:
13
>I have a problem with a routine I have in that procedures are being executed when I want my first routine to finish before the next one executes. The code below shows a Do statement being executed within a case statement where Do generatepdffab is being executed. But I want this to work through the case statments first process them then execute the Do locatearticle procedure at the bottom . Any ideas?
>
>
>DO case
>	CASE m.fabstatus='Pending Approval' AND thisform.fabstatus.Value='Approved'
>		SELECT fabsum
>		TABLEUPDATE(.T.)
>		thisform.resetmode
>		DO generatepdffab
>	CASE m.fabstatus='Approved' AND thisform.fabstatus.Value='Approved'
>		SELECT fabsum
>		TABLEUPDATE(.T.)
>		thisform.resetmode
>		DO generatepdffab
>ENDCASE
>
>DO locatearticle WITH cArtikey
>RETURN
Neil,

Basically you need modal forms. If the forms aren't modal, then any event can be executed at any time.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform