Posted 12 July 2018, 11:01 am EST
New Active Reports user here. Trying to understand the custom web exporting section in the documentation.
I have a report that requires a parameter. (String) When trying to declare a new report parameter I get an error “Overload resolution failed because no ‘New’ is accessible” when trying to declare param2.
Thanks in advance for your help.
Dim report As New GrapeCity.ActiveReports.PageReport(New System.IO.FileInfo(Server.MapPath("") + "\reports\LocalSiteAddress.rdlx"))
Dim reportDocument As New GrapeCity.ActiveReports.Document.PageDocument(report)
Dim param2 As New GrapeCity.ActiveReports.Expressions.ExpressionObjectModel.Parameter
Dim param3 As New GrapeCity.ActiveReports.Expressions.ExpressionObjectModel.ParameterValue
param3.Label = "Local"
param3.Value = CurrentUser.Info.MembershipInfo.LocalNumber
param2.Values.Add(param3)
reportDocument.Parameters.Add(param2)