Click here to Skip to main content
12,885,784 members (38,158 online)
Rate this:
Please Sign up or sign in to vote.

I am working on a small project, nowadays I am working on crystal report, to generate a crystal report which method is best for, weather to generate with tables or views.

and 2nd is that I want more than one row as a heading like subject under subject i want a subject name so how can I do this!!!
Posted 11-Oct-12 11:12am
Updated 11-Oct-12 11:19am
Wes Aday104.2K
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Tables or Views doesn't make any difference to Crystal Reports, or any other reporting for that matter.

As for the second thing, I don't use Crystal Reports, so I don't know.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

you need records (Source of data) it doesn't matter you are using table or view or data is coming from sp or simple sql query or xml etc...
the thing is after all process you should have data in table format[ set of column(s) & row(s)] to assign it in crystal report.

suppose you have columns like this,
subjId, SubjNm, SubSubjId, SubSubjNm
In crystal report, grouping option is available.
simply, add group for SubjId and another group inside it SubSubjId
and dragdrop SubjNm & SubSubjNm fields in report respectively inside group(s) or detail part.

Happy Coding!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170424.1 | Last Updated 12 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100