Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine if WAIT message is displayed?
Message
From
28/06/2011 18:14:33
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01516514
Message ID:
01516608
Views:
70
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform