Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Good Afternoon,

I have problem with crystal reports ,i need to print sub total after each 10 records in crystal reports please suggest me how i do this...


thanks
Posted

1 solution

I think you need to have a group to be able to insert a sub total. I would suggest that you create a virtual datatable and modify it thru code to insert a group filed with identical values for every x amount of records. You can then use this virtual datatable as source for the report, at this point you have a field to use a group, which allows you to insert a subtotal field for that group.

Hope this helps
 
Share this answer
 
Comments
mohd vaquas 24-Oct-11 9:43am    
Hi Navy,

i do all the things and everything is good in my report ,i need only whilereadingrecord in crystal report subtotal insert into the report after each 10 records.reset to zero for further 10 records....so please suggest how i reset and break the subTotal on base of Record .

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