Click here to Skip to main content
15,917,456 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi I'm working in a simple school program in VS2010. I'm using VS default reporting tools (SSRS). I got big problem with ssrs and I don't know how to solve it.
I want to print for each student the result of books. number of box in different grades are different so I use matrix table. Each page of report should contain information about a single student. Information are the name, the family, the result for Each book and etc. I can create this report for a single student. I use a query that retrieve student information, putting the personal information in text boxes and result of books in a matrix table and everything is grate. But it's not good idea to generate report just for a single student. It's wasting time.
But when I want to create a single report for all student which each page of report belong to a single student, I become fail. I can put the result of books in matrix table, so in each page it print result of a single student. But putting the personal information of student in text box is difficult because in each page it print the information about the first student. I tried many tricks but each time I was unsuccessful.
Also I don't like create one report for each grade, and number of books for one grade in a year may by different from another year! This is why I should use matrix table.
Is it possible with ssrs?
Should I have two or more queries for information? the how can I bind them?
I don't know the routine?
I'm newbie in VS and ssrs, so if any guidance of article for this kind of jobs.
thanks in advance
Posted
Comments
Sandeep Mewara 3-Jun-11 1:32am    
SSRS 2008 or SSRS 2005? Sounds like you are using SSRS 2005.
calcushtag 3-Jun-11 3:27am    
I don't know what ssrs is. the default reporting tools with vs2010. I don't know exactly

1 solution

I assume you are using report viewer. When creating the amtrix you have options to page group. This will give you the one student per page.

As for the grades you will need to experiment with your query to present the data in a way that the unrequired columns show as null. These will not show on the report.

I hope this helps you.
 
Share this answer
 
Comments
calcushtag 8-Jun-11 5:40am    
Yah it's report viewer, but there is no page group there or I can't find it. I can't find any article on page group too.
milenalukic 8-Jun-11 7:59am    
Use the report wizard to create the report. You will be guided throught o select a datsource and then you need to select the report type - Matrix. When you click next to select the fields you have option for page,column,rows,details.
Put the student in page and this will give you one page per student.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900