Solved

How to repeat a label in report header in Crystal Reports?

Posted on 2011-09-19
5
398 Views
Last Modified: 2012-05-12
Hi,

  I have a subreport, which has Report Header a, Report Header b,Report Header c and Report Header d.
  There is this label in Report Header d, which is kinda like a heading line to the Report Header d.
   This heading line  says "Allegations Pertaining to"
  Now, there are times when the report header d goes into next page. If it does, the next page, should have a header line "Allegations pertaining to (Contd.)".

   How to dio this? Please help.
0
Comment
Question by:pvsbandi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 36562686
Not sure if this works with a subreport

You can have the group headers repeat on each new page.
You can alo use the InRepeatedGroupHeader to suppress the continued

Add the (contd.) as its own textbox
Right click it
Click FORMAT OBJECT
Click the COMMON TAB
Click the FORMULA BUTTON to the right of SUPPRESS
Not InRepeatedGroupHeader

mlmcc
0
 

Author Comment

by:pvsbandi
ID: 36568188
Thanks! But doesn't work for me..
  Basically, if there is a header to a section and the section details are carried onto subsequent pages, then we need to repeat the header with a "Contd.", appended to it.

  But i'm not able to even display the header, if the section is going to into next page.
  any other suggestions? Please advise.
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 250 total points
ID: 36570289
You will have to move that header to the group header.

If you just need it from the main report you can group on a formula like

WhileReadingRecords;
"A"

or

WhileReadingRecords;
If TRUE then
  "A"
Else
  "B"

put the header informationin the group header and use the repeata group header on each page

mlmcc
0
 
LVL 35

Assisted Solution

by:James0628
James0628 earned 250 total points
ID: 36572679
CR 10 will not let you group on a formula that just produces a literal value like that.  That formula is just not listed when you try to create the group.  CR XI might be different.  If you have the same problem in CR XI, you just need to have the formula reference one of your fields.  For example, something like:

if {field} = {field} then
  "A"

 Then you should be able to group on that formula.

 If the field could ever be null, change the formula to:

if IsNull ({field}) or {field} = {field} then
  "A"


 James
0
 

Author Closing Comment

by:pvsbandi
ID: 36580243
Thank You!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
New and Previous Value in Crystal Report 8 71
Business Object Server 2 33
free Crystal Report viewer 4 39
Dates formatted Differently on another pc 2 28
Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question