Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 5.0 - Locking Out User While Report Goes To Excel
Message
From
13/07/1998 15:41:06
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00116857
Message ID:
00116917
Views:
16
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform