Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine if WAIT message is displayed?
Message
De
28/06/2011 18:14:33
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01516514
Message ID:
01516608
Vues:
71
>Not a stupid question; rather valid one. Here is why. I have a generic routine that calls SQL Server to get some records (basically executing SQLEXEC()). This function has a "generic" WAIT statement. But sometimes I want the routine (function/method) that call this generic function to have a more specific WAIT statement. So my thought was that in the generic function I could "check" to see if a WAIT statement already displayed and not to display another one.

Why can't you do that right inside that function? I mean, the wait command. Instead of issuing the wait where you do now, pass its content to this function and let it handle the cases. That way you have all your related waits (except Tom) in one place.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform