Posted 4 August 2017, 3:01 pm ESTWhen a report is passed into an ArViewer control and is generating, how do I know when it has completed? I've tried looking at the Status property, but it seems to refer to something else. I am using ActiveReports 1.0 & Vb6.
When is the report completed.
Posted by: frizzo1 on 4 August 2017, 3:01 pm EST
Replied 4 August 2017, 3:01 pm ESTThe Status property verifies that the report pages have completed loading into the viewer and is not what you are looking for. A Status property was added to the report object in version 2 so the only way I can think of is to check if the count of pages (rpt.Pages.Count) is greater than zero. This will tell you that the report does have pages and it's pages collection is not empty.