Progress bar with VIDEO SYNC sample
Wally Turnbull
wally at tbull.com
Fri Jan 13 15:09:02 PST 2006
One situation where you may want to use Video Sync is when running a
report by standing on one record and processing multiple records from
another file. Unless you display a changing message and use Video Sync
it can appear to the user that the program has hung.
The attached snippet "progbar.prc" displays a moving progress bar in
such a situation.
Replace the word "customers" with the name of your file in line 2.
Run progbar.prc with only one record selected from a file other than the
one you
name in line 2.
For example run progbar.prc from record one in a file called "control"
to process multiple records in a file called "customers." This code
does not change any records. It only displays a progress bar.
You can also us the progbar.prc concept on a report where you do not
stand on one record but run through multiple records in the file you are
processing. In that case you do not need to use Video Sync or Numrecs.
In this case use @TS which is more precise than the total number of
records as you may not be processing all records.
Users seem to like the progress bar.
Peace,
Wally Turnbull
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Progbar.prc
Type: application/octet-stream
Size: 1171 bytes
Desc: not available
Url : http://lists.celestial.com/pipermail/filepro-list/attachments/20060113/a37fceb3/Progbar.obj
More information about the Filepro-list
mailing list