Hi Elyze!
A couple month ago was a thread about this stuff. I found an answer to this
question and posted it. So, you can search in the past (probably the time
machine will be useful ;) But if you can't, I post it again:
thisform.oleProgressbar.Maxvalue = reccount() && or whatever you want
select *, updatevalue()
from table;
where condition;
into cursor tmp
with thisform.oleProgressBar
.Value = .MaxValue
endwith
function updatevalue
with thisform.oleProgressBar
.Value = _tally
if .Value >=.MaxValue
.MaxValue = .Value*2
endif
endwith
Have a happy day
Vladimir Shevchenko
* Human is a question asked by birth and answered by death. Machine is another kind of question with another kind of answer