Click here to Skip to main content
15,894,017 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello!!!

I have two groups in my report First shows Universities and Second shows Institutes affiliated to universities.

I Have put one text object against each group header and and set it to Record number but when i see the report it shows me continuous numbers from 1 to end.It shows me this.

XML
<pre> 
                 1 Univ1
                         1 Institute1
                                 Course1
                                 Course2
                         2 Institute2
                                 Course1
                                 Course2
                 3 Univ2
                         3 Institute1
                                 Course1
                                 Course2
                                 Course3
                         4 Institute2
                                 Course1
                                 Course2

 </pre>

 what i want to do is show number of records for each group.

For ex    <pre>   1 Univ1
                         1 Institute1
                                 Course1
                                 Course2
                         2 Institute2
                                 Course1
                                 Course2
                  2 Univ2
                         1 Institute1
                                 Course1
                                 Course2
                                 Course3
                         2 Institute2
                                 Course1
                                 Course2

 </pre>


i also tried using Groupno but the result is the same. Please tell me how to set the textObjects RowNumber according to the group
Posted
Updated 8-Aug-12 21:22pm
v2
Comments
Viper2010 9-Aug-12 5:31am    
you can create a parameter and bind with sql command in your program and pass to Crystal.

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