Click here to Skip to main content
15,886,919 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello

my table...
srno name date attendance

1 vicky 1/12/2010 P
2 sachin 1/12/2010 P
3 Raju 1/12/2010 A
1 vicky 2/12/2010 P
2 sachin 2/12/2010 A
3 Raju 2/12/2010 P

how can i search data in crystal report like Bellow format

in crystal report...

srno name 1 2 3 4 5 6.......to 31
1 vicky P P
2 sachin P A
3 raju A P
Posted

You can use crosstab reports for your requirement.

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

Also you can do that by Using PIVOT and UNPIVOT[^] in SQL server.
 
Share this answer
 
my way to solve all issues with crystal reports is to work with recordsets.

Its very easy to parse a recordset from Sql server or another table result to crystal report and you can select wathever you want before to send it to the printer.

if im reading your question right, try it, it will solve all your problems.
 
Share this answer
 
Comments
[no name] 4-Jan-11 21:14pm    
please solve my query.

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