Hello,
I am using vb 2012 and Infragistics 13.2 and trying to bind my report to a class.
The class has getAppts function with to date arguments.
Here is my function:
Public Function getAppts(StartDate As Date, EndDate As Date) As IEnumerable(Of dsReportQueries.ApptsByCreatedDateRow) Dim drList As New List(Of dsReportQueries.ApptsByCreatedDateRow) Dim taAppts As New dsReportQueriesTableAdapters.ApptsByCreatedDateTableAdapter Dim dtAppts As New dsReportQueries.ApptsByCreatedDateDataTable taAppts.FillByCreatedDate(dtAppts, StartDate, EndDate) For Each row As dsReportQueries.ApptsByCreatedDateRow In dtAppts.Rows drList.Add(row) Next
Return drList End Function
My report is bound to the function.
How do I supply arguments to the report at run-time?
Thanks in advance
Hi,
Maybe one possible solution could be if you are using Static or Dynamic parameters. Please take a look in our online documentation for more details:
http://help.infragistics.com/Help/Doc/Reporting/2013.2/CLR4.0/html/How_to_Work_with_Parameters.html
http://help.infragistics.com/doc/reporting/2013.2/CLR4.0
Let me know if you have any questions.