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

I want to design cross tab report in crystal report. but the problem is that when a started to create i can't get the desire report.i want subject name in column and below each subject i want to enter marks like mid term,final and assignment marks etc.
i tried many times to display the report as I want but it can't. and 2nd in a same tab in row wise i just want to enter Names, Roll# and Reg#.

How can i do This....
Posted

You can go with this one
 
Share this answer
 
refer link,
A
Customized Crosstab Report
[^]

tips for sub columns effect
e.g.
    subjects
----------------
Math | Eng | Sci 


then query data should like this

MastColId SubjId SubjNm Marks StdId StdNm
1         1      Math   90     1    abc
1         2      Eng    91     1    abc
1         3      Sci    92     1    abc
1         1      Math   70     2    xyz
...


if you not have MastColId simply add it
SQL
select 1 as MastColId, subjid,subjnm... 

now, in crosstab
Columns       = MastColId, SubjId
Rows          = StdId, StdNm
SummaryField  = Mode(Marks)


Happy Coding!
:)
 
Share this answer
 

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