Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Mike Yearwood
  Where is Mike Yearwood?
 Toronto
 Canada
 Mike Yearwood
 To: bryan wetton
  Where is bryan wetton?
 Morphett Vale
 Australia
 bryan wetton
 Tags
Subject: RE: Progress Bar in SQL SELECT
Thread ID: 210647 Message ID: 210966 # Views: 57 # Ratings: 2
Version: Visual FoxPro 9 Category: General VFP Topics
Date: Thursday, January 08, 2009 3:53:15 PM         
   


> My 'senior' memory has let me down again...
>
>
> A while ago I saw a Progress Bar when I was creating a new table via SQL using a Select .. FROM ... INTO routine.
>
> I don't see that in my apps at the moment which have quite a number of such codes .. can anyone point to how one makes this Bar visible ?
>
> I have some Select statements that are taking a very long time and I want to be certain that they are being processed.
>
>
> Regards
> -Bryan

Hi Bryan

A memento design pattern is the best way to handle this. There are several SET commands that need to be changed and then reverted. Failing to undo them by failing to call the procedure to undo them - easy enough due to human error, can make a mess.

Here is a class that does the job better:

http://foxridgesoftware.com/Blogs/tabid/84/EntryID/2/Default.aspx

Mike Yearwood
Microsoft MVP Visual FoxPro 2008



We have enough youth. We need a fountain of smart!
There may be many ways to skin a cat, but there are very few right ways to do it.



COMPLETE THREAD
Progress Bar in SQL SELECT Posted by bryan wetton @ 1/7/2009 6:55:38 AM
RE: Progress Bar in SQL SELECT Posted by Glenn Villar @ 1/7/2009 7:20:11 AM
RE: Progress Bar in SQL SELECT Posted by Om Rajan @ 1/7/2009 11:00:59 AM
RE: Progress Bar in SQL SELECT Posted by Glenn Villar @ 1/8/2009 2:07:45 AM
RE: Progress Bar in SQL SELECT Posted by Mike Yearwood @ 1/9/2009 7:46:02 PM
RE: Progress Bar in SQL SELECT Posted by Glenn Villar @ 1/13/2009 5:59:23 AM
RE: Progress Bar in SQL SELECT Posted by Stefan Wuebbe @ 1/7/2009 10:02:34 AM
RE: Progress Bar in SQL SELECT Posted by Om Rajan @ 1/7/2009 11:16:59 AM
RE: Progress Bar in SQL SELECT Posted by Stefan Wuebbe @ 1/7/2009 12:53:59 PM
RE: Progress Bar in SQL SELECT Posted by Om Rajan @ 1/7/2009 1:06:24 PM
RE: Progress Bar in SQL SELECT Posted by Russell Hill @ 1/7/2009 12:25:03 PM
RE: Progress Bar in SQL SELECT Posted by surinder singh @ 1/7/2009 12:29:40 PM
RE: Progress Bar in SQL SELECT Posted by Russell Hill @ 1/7/2009 12:34:29 PM
RE: Progress Bar in SQL SELECT Posted by Mike Yearwood @ 1/8/2009 3:53:15 PM
RE: Progress Bar in SQL SELECT Posted by bryan wetton @ 1/10/2009 4:06:00 AM
RE: Progress Bar in SQL SELECT Posted by Mike Yearwood @ 1/13/2009 4:36:20 PM