private oStatusForm && so it will be visible to updateReportStatus() oStatusForm = createobject("StatusForm") && hypothetical form class report form myreport .... procedure updateReportStatus lparameters lnPageNo oStatusForm.setPage(lnPageNo) return '' endprocAs for me, I have a report manager class. Reports are run from inside of the class. The REPORT FORM command is run from inside of an object (an instance of the report manager class), so THIS (inside of the report) refers to the class...and I can have a method in this class for talking to a status form.
>>this.setPage(_pageno)>>
>>* setpage() >>lparameters lnPageNo >> >>thisform.printingPage = lnPageNo >>thisform.status.refresh() && where this is a control that is bound in some >> && way to thisform.printingPage >> >>return ''>>