Question : SQL Rownumber command

I have used this command which brings back the results i wish. However im struggling on displaying these results in a textbox. I have figured out using the 'First' command and 'Last' but how do i select the second, third, fourth result in the table.
One textbox would have =First(Fields!statuscode.Value, "DAAS_MSCRM"), but how do i create another textbox that would bring the second result back?
Code Snippet:
1:
2:
3:
SELECT COUNT(statuscode) AS [statuscode]
FROM FilteredIncident AS CRMAF_FilteredIncident
GROUP BY statuscode;

Answer : SQL Rownumber command

Hi,

you could make use of List, Matrix or Table which are small components that are available in the toolbox of your report basically in Visual studio. You could just drag and drop any of these items in your tool and point to the right datasource and dataelement to display.

I think "list" component would be useful in this situation as there is just the list of items you want to display in a report.

Hope this helps

Random Solutions  
 
programming4us programming4us