Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to implement a progress bar while running a remote v
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01680151
Message ID:
01680196
Views:
61
>>Hello, this is one of the programming tricks that I have wanted to do for a long time, but have not had a need to make it happen until now.
>>
>>And this time I have developed a form that shows a few hundred invoices whose correct status, the user has to verify and take the necessary actions.
>>
>>Well, to get to the point, these invoices are obtained through a remote view, this takes on average, about 4 or 5 seconds to execute, meanwhile the user thinks that his PC has frozen and begins to get impatient.
>>
>>Is there a way to display a progress bar (or at least an animated gif) while the remote view (or in some cases) stored procedure is running?
>>
>>TIA
>
>What backend are you using? Generally speaking I don't think it's possible to show a progress bar as the SQL is ran on the backend database -- however you could create a form that appears when you execute the query -- have it play a video or gif or something in a modal form.

Hi Victor. I am using SQL Server. I did what you explained in your mesage previously. I used a tiny form with an animated gif in it. I show this form (modeless, not modal, because modal stops execution of the program). What happened is that just when the remote view begins to run, the animated gif remains frozen. Then, when the remote view finishes running the form I programmatically close it. Which does not works as I expected.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform