Guys,I've got a very simple data set which is just 'SELECT * FROM tblA WHERE a.ID = @ID'Where @ID is a parameter in the report. If I right click the data set and hit query, I can successfully run it and enter 1,2,3 etc and data is returned as I expect.If I preview the report and enter these values (just typing them in) one works (1) but the others 2,3,4 etc deliver no data. It makes no difference if I set the parameter to take values I hard code, to take them from a data set I create or to allow me to just type them straight in. Also doesn't help if I delete and add the parameter again.Does anyone know how I can troubleshoot this? - Almost like the equivalent of SQL Profiler where it shows what the report is trying to do or something?I can create anotehr report which has 'SELECT * FROM tblA WHERE ID = 4' and this delivers the expected results, it's just the parameters which are playing upAny help much appreciated, it seems so simple I'm not sure what could be up.
↧