I am trying to use the ABMReport.
The example provided here
A sneak peek on a new feature of ABMaterial I'm working on: Printing/Reporting. This is an example of a report in ABMaterial. You build it right into your other pages and just by setting a couple of parameters, you control what will be shown on screen and what will be printed. The block your...
creates and shows the report in the ConnectPage section with this code:
Dim myReport As ReportInvoice
myReport.Initialize(page, "myreport")
page.Cell(4,1).AddComponent(myReport.Report)
So, the report is created, populated with data and shown upon page creation. All data are created in the Report_Build sub This works fine.
I also modified the code to use queries to populate the report.
However, usually a report needs to be generated after a certain event (e.g. user selects the invoice number for which a report is needed).
How can I generate the report outside ConnectPage?