Print Page | Close Window

Dynamic Report Field Title

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=19605
Printed Date: 02 May 2024 at 9:53pm


Topic: Dynamic Report Field Title
Posted By: sunsuogun
Subject: Dynamic Report Field Title
Date Posted: 03 Jun 2013 at 12:16pm
Hi Guys,
I hv a report to design the report format is this

Sn ExamNo   CS1  CS2 CS3  CS4
1 35464        42C  34A 34E  80A

Note the isseu i hv is changing d report field title which might change based on d student offerred courses i.e for another student his own subject might be like say
Sn  ExamNo  DT1   DT2   AD5  CT2
 1   44546     20E   56A   70A  34F

how can i achieve dis dynamic header subject title for the fields in crystal report for each of d student,where result for each student will be in a group and the number of columns for the field header title will be  d same.

Thanks for your prompt replies




-------------
sunsuogun



Replies:
Posted By: lockwelle
Date Posted: 04 Jun 2013 at 12:02pm
build a record set that includes the class codes for each student. Then in the group header write your formulas to display the class codes as the column headers for the group (the student)

HTH


Posted By: sunsuogun
Date Posted: 05 Jun 2013 at 5:13am
Lockwelle,thanks for your response.but i still need further illustrations based on this information provided below.

Really dis is exactly what i need

sn    ExamNo   CSE201   CSE301  CDE401 ....
1     35353         45A           30D       70A
 2    54646          89A           29F       60B

   in dt order.The course titles for the fiellds which are CSE201,   CSE301 , CDE401 will be changing based on d courses  being offerred by the students in the department. Another department own might be

sn    ExamNo   EEE201   TPD301  MEC401 ....
1     35353         45A           30D       70A
 2    54646          89A           29F       60B

the issue is how course name title field will be changing based on the department whose result is to be viewed.Pls illustrate with sample code for me,bcos i am a novice in using crystal report.

Regards.



-------------
sunsuogun



Print Page | Close Window