Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to print the receipts for fee payment of multiple students at a time and cut it as to handover to the students.I used this code but it doesnot work.
C#
crystalReportViewer1.SelectionFormula = "{fee_receipt_view.receipt_number}<" + max_receipt + " and {fee_receipt_view.receipt_number}>="+max_receipt_now+"";

where max_receipt is receipt number 36 and max_receipt_now is receipt number 40. I want to print fee receipt from 36 to 40m at time and tear it as it need.
Posted
Updated 2-May-11 6:06am
v2

1 solution

Simply put the receipt in the list(group by) driven by data.

Make your query such that you pass on the receipt range - data would be returned accordingly - report would be generated accordingly. Print it!
 
Share this answer
 
v2

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