Status of Backend process...  
Author Message
Markish





PostPosted: Visual FoxPro General, Status of Backend process... Top

Hi,

I'm having a application in VFP 9.0 using MySQL as backend....I've some SP there to do some book-keeping jobs. I let the user to call them from VFP.... The SP take a quite noticable time..... Is there a way to show the status in progressbar or something in the frontend....

Thanks and Regards,

Markish




Visual FoxPro1  
 
 
Alex Feldstein





PostPosted: Visual FoxPro General, Status of Backend process... Top

No, unless the backend SP sends some kind of periodic status report, which would only slow down the process some more.

You could show an animated gif or some other image to convey the impression of work being done. If you have an idea of how much time it normally takes, you could give the user a timer or an idea of when it might finish, or if it is appropiate for your app, you could run it asynchronously and have your program continue and inform the user later when the process was finally done.


 
 
Markish





PostPosted: Visual FoxPro General, Status of Backend process... Top

Thanks a lot for your fast reply and Though I'm bit late.