Hi I am using Q2 2007. I have a report that uses a single integer parameter, and that parameter is referenced in a simple filter "field=parameter".
I have a text box on teh page header that shows the parameter value, so I know it is set. But none of my header or detail sections shows up when I pass in a value.
Dim clientBatchID As Integer
clientBatchID = CInt(Request.QueryString("clientBatchID"))
Me.ReportViewer1.Report.ReportParameters("clientBatchID").Value = clientBatchID
If I run the report like this, I get the constants values (header text, page numbers etc) and the parameter text box, but no data.
If I do this
Dim clientBatchID As Integer
clientBatchID = 175
Me.ReportViewer1.Report.ReportParameters("clientBatchID").Value = clientBatchID
I get data for batch 175, report looks fine.
Could this be a transaction problem? In the first example, I have left out some steps in teh pasted code above, where the records I want to report on are assigned the batch ID. I imagine they might not be committed and the report doesn't see them. But I follow this same pattern in other reports and do not have this problem...
any ideas?
I have a text box on teh page header that shows the parameter value, so I know it is set. But none of my header or detail sections shows up when I pass in a value.
Dim clientBatchID As Integer
clientBatchID = CInt(Request.QueryString("clientBatchID"))
Me.ReportViewer1.Report.ReportParameters("clientBatchID").Value = clientBatchID
If I run the report like this, I get the constants values (header text, page numbers etc) and the parameter text box, but no data.
If I do this
Dim clientBatchID As Integer
clientBatchID = 175
Me.ReportViewer1.Report.ReportParameters("clientBatchID").Value = clientBatchID
I get data for batch 175, report looks fine.
Could this be a transaction problem? In the first example, I have left out some steps in teh pasted code above, where the records I want to report on are assigned the batch ID. I imagine they might not be committed and the report doesn't see them. But I follow this same pattern in other reports and do not have this problem...
any ideas?