In a RDLC report I have a parameter named "allocated_jobs"
It has no Available Values.
It has 1 Default Value: RTrim(Allocated = "True")
ie; Only rows with field name Allocated and it's contents equal "True" are to be in the report.
The report runs fine, no errors, but without the desired return of the parameter.
Thankyou.
It has no Available Values.
It has 1 Default Value: RTrim(Allocated = "True")
ie; Only rows with field name Allocated and it's contents equal "True" are to be in the report.
VB.NET:
Dim rds = New ReportDataSource("Jobapps_ds", Me.JobsAppBindingSource)
Me.JobsDataReportViewer.LocalReport.DataSources.Add(rds)
Me.JobsDataReportViewer.LocalReport.ReportEmbeddedResource = "Data_Reporting.JobsList.rdlc" 'Report path in my.settings
Dim allocated_param As Microsoft.Reporting.WinForms.ReportParameter
allocated_param = New Microsoft.Reporting.WinForms.ReportParameter("allocated_jobs")
Me.JobsDataReportViewer.LocalReport.SetParameters(allocated_param)
Me.JobsDataReportViewer.RefreshReport()
The report runs fine, no errors, but without the desired return of the parameter.
Thankyou.
Last edited by a moderator: