Me
.sqlSelectCommand1.CommandText = "SELECT * FROM [vwr_case_info] WHERE (accession_no IN (@accession_no))"
Me.sqlSelectCommand1.Connection = Me.sqlConnection1
Me.sqlSelectCommand1.Parameters.AddRange(New System.Data.SqlClient.SqlParameter() {New System.Data.SqlClient.SqlParameter("accession_no", System.Data.SqlDbType.VarChar, 150, System.Data.ParameterDirection.Input, False, CType(0, Byte), CType(0, Byte), "accession_no", System.Data.DataRowVersion.Current, "'tpc-07', 'tpc-08'")})
However, the report engine is not pulling any results for me. When I change the sql to
Me
.sqlSelectCommand1.CommandText = "SELECT * FROM [vwr_case_info] WHERE (accession_no IN ('tpc-07', 'tpc-08'))"
everything works. Am I missing something here or is there a bug in Telerk Reporting 1.1 when using sql parameters?