Hi Terry,
Thanks for the example. As always it's the fastest way to get to the heart of the problem.
As I predicted in the webinar yesterday, the key is that your progress bar is getting to 100 before the loop (and file) is completed.
In your code you have;
PercentageComplete = x * 100/recordsize
p_web.SetProgress(loc:ProgressName,PercentageComplete,'')
If you do a TRACE after that line, and another after the final line;
p_web.SetProgress(loc:ProgressName,100,GLO:DosFileName)
You will see that it gets to 100 before the loop completes (ie in the first SetProgress.)
As I pointed out in the webinar 100% is only valid _after_ everything about the file has been done.
If you adjust your code as follows then you should be fine.
PercentageComplete = x * 100/recordsize
If PercentageComplete > 99 then PercentageComplete = 99.
p_web.SetProgress(loc:ProgressName,PercentageComplete,'')
If of course you still have a problem please post a modified example.
Cheers
Bruce