Sunday, August 10, 2014

Page wise total in Crystal Report


Create a formula field TOTAL1 and edit this code:

 WhilePrintingRecords;  
 NumberVar total;  
 total := 0;  



Place TOTAL1 in page header section.
Create a formula field TOTAL2 and edit this code:

 WhilePrintingRecords;  
 NumberVar total;  
 total := total + CDbl ({field01})  


where field01 is the field to summarize & CDbl is converting.
Place TOTAL2 in details section.

Create a formula field TOTAL3 and edit this code:

 WhilePrintingRecords;  
 NumberVar total;  



Place TOTAL3 in page footer.


you can also see This

 
 











C# print file on LAN Printer

If you want to print any file on network printer then you can try with this code block // Change Default Printer System.Ma...