Click here to Skip to main content
16,014,892 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to create a summary sales report with crystal report 10.
please help as i am new in crstal report.


ProductName Sale(2009) Sale(2010)
ProdA 250 561
ProdB 360 150
----------------------------------------------
Grand Totral 610 711

I have two table
1. product master
2. Sales

ProductMaster
-------------
ProdName ProdCode
ProdA 01

Sales
-------
ProdCode Sale City Year
01 35 Mumbai 2009
01 60 Delhi 2008
02 150 Delhi 2009
Posted

You need PIVOT[^] to get the result. Or may be a cross tab report will help you.
 
Share this answer
 
You can achieve that using Crosstab Report in Crystal reports.

Nice article with step by step explanations. Go ahead.

Creating a Crosstab Report in Visual Studio 2005 Using Crystal Reports[^]

Do customizations based on your need.
 
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