>>Hi Steve,
>>
>>Actually, here is the deal: we have a class, called Reporter. This class uses MetaFile, which describes our reports. In this MetaFile there is InitExp. In this InitExp I put a call to SpecialMtd. So, I guess, I still have an access to this in report itself and it would refer to Reporter class. So, it would be a good idea to add some visual progress bar to this class. Unfortunately, this is not my application and the original developer is put on hold...
>
>Somewhere in the code, before your report is run (IOW, before the Report Form command), create a private var oProgressBar which will be the reference to your progress bar. Set progressbar's .max=reccount() (of the cursor the report runs on).
>In the report, pick an appropriate On Entry or On Exit expression (page footer, or group footer, whichever may suit you) and put oProgressBar.Update(recno()) there. Make sure you show the progress bar before the report, and that you hide it (or destroy) after. That's it.
BTW, having a bar named "Progress", that brings fond memories of the way enterprises were named back home, eh?