Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 5.0 - Locking Out User While Report Goes To Excel
Message
De
13/07/1998 15:41:06
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00116857
Message ID:
00116917
Vues:
17
>>In my application, users have the option of sending reports to Excel.
>>
>>Problems occur is the user continues to use the application while data is being passed to the spreadsheet.
>>
>>What method is there to prevent any further VFP execution until the Excel report is completed?
>>
>>Thanks-
>
>Just thinking outloud but could you instanciate a modal form class (with a user-friendly please wait message on it) with no close button and no other way for the user to exit the form while the process is ongoing. When your Excel processed is finished, you could release the form.

The problem is knowing when Excel is finished. I ran into the same problem with a Word process, and resorted to solving it with a simple delay. Some of this can be solved with settings in the server app. For instance, I got around another situation in Word by temprarily turning background printing off, which made the first process effectively modal.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform