newReport(<Report Name>, If CloseHaveOpenReport)
Report Name: String, the report name will be filled.
If CloseHaveOpenReport: Boolen, default FalSe.
True is close the opened report.
Function: open a new report, equal to new a report in my workbench.
Example:
Private Sub cmdNewCust_Click()
Dim oAdd As Object
Set oAdd = Application.COMAddIns("ESClient.Connect").Object
oAdd.newReport ("Customer",False)
Set oAdd = Nothing
End Sub
See also: